summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorMark Fasheh <mark.fasheh@oracle.com>2006-10-18 04:05:18 +0400
committerMark Fasheh <mark.fasheh@oracle.com>2006-12-02 05:28:38 +0300
commitd23a147bb6e8d467e8df73b6589888717da3b9ce (patch)
tree7888c513810dc39a20e061e720c52fc8e7d778a4 /mm
parent55ed16029d597622db8121270e687373b5e31722 (diff)
downloadlinux-d23a147bb6e8d467e8df73b6589888717da3b9ce.tar.xz
[PATCH] Export should_remove_suid()
This helps us avoid replicating the same logic within file system drivers. Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'mm')
-rw-r--r--mm/filemap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/filemap.c b/mm/filemap.c
index 7b84dc814347..13df01c50479 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -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)
{