aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Fasheh <mark.fasheh@oracle.com>2006-10-17 17:05:18 -0700
committerMark Fasheh <mark.fasheh@oracle.com>2006-12-01 18:28:38 -0800
commitd23a147bb6e8d467e8df73b6589888717da3b9ce (patch)
tree7888c513810dc39a20e061e720c52fc8e7d778a4
parent55ed16029d597622db8121270e687373b5e31722 (diff)
[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>
-rw-r--r--mm/filemap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/filemap.c b/mm/filemap.c
index 7b84dc81434..13df01c5047 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)
{