Commit d1ae0ede authored by Christoph Hellwig's avatar Christoph Hellwig

[PATCH] remove obsolete kern_umount alias for mntput

parent 32e50ad9
...@@ -180,7 +180,7 @@ static int __init init_devpts_fs(void) ...@@ -180,7 +180,7 @@ static int __init init_devpts_fs(void)
static void __exit exit_devpts_fs(void) static void __exit exit_devpts_fs(void)
{ {
unregister_filesystem(&devpts_fs_type); unregister_filesystem(&devpts_fs_type);
kern_umount(devpts_mnt); mntput(devpts_mnt);
} }
module_init(init_devpts_fs) module_init(init_devpts_fs)
......
...@@ -992,8 +992,6 @@ extern struct vfsmount *kern_mount(struct file_system_type *); ...@@ -992,8 +992,6 @@ extern struct vfsmount *kern_mount(struct file_system_type *);
extern int may_umount(struct vfsmount *); extern int may_umount(struct vfsmount *);
extern long do_mount(char *, char *, char *, unsigned long, void *); extern long do_mount(char *, char *, char *, unsigned long, void *);
#define kern_umount mntput
extern int vfs_statfs(struct super_block *, struct statfs *); extern int vfs_statfs(struct super_block *, struct statfs *);
/* Return value for VFS lock functions - tells locks.c to lock conventionally /* Return value for VFS lock functions - tells locks.c to lock conventionally
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment