diff options
author | Mark Fasheh <mark.fasheh@oracle.com> | 2006-10-17 20:05:18 -0400 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2006-12-01 21:28:38 -0500 |
commit | d23a147bb6e8d467e8df73b6589888717da3b9ce (patch) | |
tree | 7888c513810dc39a20e061e720c52fc8e7d778a4 /mm | |
parent | 55ed16029d597622db8121270e687373b5e31722 (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>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/filemap.c | 1 |
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) | |||
1893 | 1893 | ||
1894 | return 0; | 1894 | return 0; |
1895 | } | 1895 | } |
1896 | EXPORT_SYMBOL(should_remove_suid); | ||
1896 | 1897 | ||
1897 | int __remove_suid(struct dentry *dentry, int kill) | 1898 | int __remove_suid(struct dentry *dentry, int kill) |
1898 | { | 1899 | { |