summaryrefslogtreecommitdiffstats
path: root/mm/filemap.c
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 /mm/filemap.c
parent55ed16029d597622db8121270e687373b5e31722 (diff)
downloadop-kernel-dev-d23a147bb6e8d467e8df73b6589888717da3b9ce.zip
op-kernel-dev-d23a147bb6e8d467e8df73b6589888717da3b9ce.tar.gz
[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/filemap.c')
-rw-r--r--mm/filemap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/filemap.c b/mm/filemap.c
index 7b84dc8..13df01c 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)
{
OpenPOWER on IntegriCloud