All pastes #1002794 Raw Copy code Copy link Edit

trey

public unlisted diff v1 · immutable
#1002794 ·published 2008-04-30 11:31 UTC
rendered paste body
--- file.c.orig	2008-04-30 13:10:50.000000000 +0200+++ file.c	2008-04-30 13:12:20.000000000 +0200@@ -852,7 +852,7 @@ 		goto out_nolock; 	if (count == 0) 		goto out_nolock;-	err = remove_suid(fdentry(file));+	err = remove_suid(&file->f_path); 	if (err) 		goto out_nolock; 	file_update_time(file);