]> git.karo-electronics.de Git - linux-beck.git/blobdiff - fs/anon_inodes.c
autofs4 - fix get_next_positive_dentry()
[linux-beck.git] / fs / anon_inodes.c
index 549a53cc028355fd2e07fedc6e051f1c4f99a27e..c5567cb784325a7fa6f745c63e473edea592c4fb 100644 (file)
@@ -66,9 +66,9 @@ static const struct address_space_operations anon_aops = {
 };
 
 /**
- * anon_inode_getfd - creates a new file instance by hooking it up to an
- *                    anonymous inode, and a dentry that describe the "class"
- *                    of the file
+ * anon_inode_getfile - creates a new file instance by hooking it up to an
+ *                      anonymous inode, and a dentry that describe the "class"
+ *                      of the file
  *
  * @name:    [in]    name of the "class" of the new file
  * @fops:    [in]    file operations for the new file
@@ -233,7 +233,7 @@ static int __init anon_inode_init(void)
        return 0;
 
 err_mntput:
-       mntput_long(anon_inode_mnt);
+       mntput(anon_inode_mnt);
 err_unregister_filesystem:
        unregister_filesystem(&anon_inode_fs_type);
 err_exit: