diff --git a/fs/namei.c b/fs/namei.c index b463413ec56e..bd04eef84c6f 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -3939,6 +3939,8 @@ int vfs_rmdir2(struct vfsmount *mnt, struct inode *dir, struct dentry *dentry) d_delete(dentry); return error; } +EXPORT_SYMBOL(vfs_rmdir2); + int vfs_rmdir(struct inode *dir, struct dentry *dentry) { return vfs_rmdir2(NULL, dir, dentry);