summaryrefslogtreecommitdiff
path: root/fs/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/init.c')
-rw-r--r--fs/init.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/init.c b/fs/init.c
index 507ffbb5d146..eabd9ed2b510 100644
--- a/fs/init.c
+++ b/fs/init.c
@@ -42,3 +42,8 @@ int __init init_unlink(const char *pathname)
{
return do_unlinkat(AT_FDCWD, getname_kernel(pathname));
}
+
+int __init init_rmdir(const char *pathname)
+{
+ return do_rmdir(AT_FDCWD, getname_kernel(pathname));
+}