[PATCH] Export should_remove_suid()
Mark Fasheh [Wed, 18 Oct 2006 00:05:18 +0000 (17:05 -0700)]
This helps us avoid replicating the same logic within file system drivers.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>

mm/filemap.c

index 7b84dc8..13df01c 100644 (file)
@@ -1893,6 +1893,7 @@ int should_remove_suid(struct dentry *dentry)
 
        return 0;
 }
+EXPORT_SYMBOL(should_remove_suid);
 
 int __remove_suid(struct dentry *dentry, int kill)
 {