diff --git a/fs/namei.c b/fs/namei.c index 0230bc59f344..a896620f6d79 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -3742,6 +3742,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);