]> git.ipfire.org Git - people/ms/linux.git/blobdiff - fs/namespace.c
init: add an init_umount helper
[people/ms/linux.git] / fs / namespace.c
index 2c4d759209748587386b6128850bc30f715eb02d..a7301790abb21105bbea83a3cff6a45d49191f9b 100644 (file)
@@ -1706,7 +1706,7 @@ static inline bool may_mandlock(void)
 }
 #endif
 
-static int path_umount(struct path *path, int flags)
+int path_umount(struct path *path, int flags)
 {
        struct mount *mnt;
        int retval;
@@ -1736,7 +1736,7 @@ dput_and_out:
        return retval;
 }
 
-int ksys_umount(char __user *name, int flags)
+static int ksys_umount(char __user *name, int flags)
 {
        int lookup_flags = LOOKUP_MOUNTPOINT;
        struct path path;