ANDROID: fs: Export vfs_rmdir2
authorGuenter Roeck <groeck@chromium.org>
Mon, 30 Jan 2017 20:29:00 +0000 (12:29 -0800)
committerDaniel Rosenberg <drosen@google.com>
Tue, 30 Jan 2018 03:40:12 +0000 (19:40 -0800)
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>
fs/namei.c

index 12e9faafab1fc345e289c223d8106eaea56c6bcd..11aae5599575ef407f5ec1ecf41aeaeffef9c261 100644 (file)
@@ -3914,6 +3914,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);