summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorGuenter Roeck <groeck@chromium.org>2017-01-30 12:29:00 -0800
committerAmit Pundir <amit.pundir@linaro.org>2017-02-03 15:05:18 +0530
commit431cd3e2917dd98c8c29b8e87aa489f6ddb64917 (patch)
treed61932a738a41b6511eaa21cfb1a41e883470409 /fs
parent6ca5bd2bd24e4e35bdf38e7a5b0a212be0a676ac (diff)
ANDROID: fs: Export vfs_rmdir2
allmodconfig builds fail with ERROR: "vfs_rmdir2" undefined! Export the missing function. Change-Id: I983d327e59fd34e0484f3c54d925e97d3905c19c Fixes: f9cb61dcb00c ("ANDROID: sdcardfs: User new permission2 functions") Signed-off-by: Guenter Roeck <groeck@chromium.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/namei.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/namei.c b/fs/namei.c
index 200a35ebf817..d185869dae93 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -3740,6 +3740,8 @@ out:
d_delete(dentry);
return error;
}
+EXPORT_SYMBOL(vfs_rmdir2);
+
int vfs_rmdir(struct inode *dir, struct dentry *dentry)
{
return vfs_rmdir2(NULL, dir, dentry);