diff --git a/[refs] b/[refs] index 60378ac1dfa2..9d412154773a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: bafb232ec42aa6862798236009e8e5233d05ab36 +refs/heads/master: 63223a0654c2a473ae64835819b87826cb7415ee diff --git a/trunk/fs/debugfs/inode.c b/trunk/fs/debugfs/inode.c index 05d1a9c4fb76..d6c5fb53c746 100644 --- a/trunk/fs/debugfs/inode.c +++ b/trunk/fs/debugfs/inode.c @@ -206,13 +206,15 @@ struct dentry *debugfs_create_file(const char *name, mode_t mode, pr_debug("debugfs: creating file '%s'\n",name); - error = simple_pin_fs(&debug_fs_type, &debugfs_mount, &debugfs_mount_count); + error = simple_pin_fs(&debug_fs_type, &debugfs_mount, + &debugfs_mount_count); if (error) goto exit; error = debugfs_create_by_name(name, mode, parent, &dentry); if (error) { dentry = NULL; + simple_release_fs(&debugfs_mount, &debugfs_mount_count); goto exit; }