From: Mark Fasheh Date: Wed, 18 Oct 2006 00:05:18 +0000 (-0700) Subject: [PATCH] Export should_remove_suid() X-Git-Tag: firefly_0821_release~30985^2~47^2~105^2~6 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d23a147bb6e8d467e8df73b6589888717da3b9ce;p=firefly-linux-kernel-4.4.55.git [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 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) {