[PATCH] Export should_remove_suid()
authorMark Fasheh <mark.fasheh@oracle.com>
Wed, 18 Oct 2006 00:05:18 +0000 (17:05 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Sat, 2 Dec 2006 02:28:38 +0000 (18:28 -0800)
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)
 {