]> err.no Git - linux-2.6/commitdiff
[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 7b84dc814347544d68ab662f11691b25ca54ac3a..13df01c50479ce8fa2dc1fa283d6483c2a31937b 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)
 {