From: Mark Fasheh Date: Wed, 18 Oct 2006 00:05:18 +0000 (-0700) Subject: [PATCH] Export should_remove_suid() X-Git-Tag: v2.6.20-rc1~34^2~40^2~4^2~6 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d23a147bb6e8d467e8df73b6589888717da3b9ce;p=linux-2.6 [PATCH] Export should_remove_suid() This helps us avoid replicating the same logic within file system drivers. Signed-off-by: Mark Fasheh --- diff --git a/mm/filemap.c b/mm/filemap.c index 7b84dc8143..13df01c504 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) {