diff options
-rw-r--r-- | fs/btrfs/ioctl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index 6228b69c2b93..69c4a07f5869 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c | |||
@@ -1059,6 +1059,8 @@ long btrfs_ioctl_trans_end(struct file *file) | |||
1059 | root->fs_info->open_ioctl_trans--; | 1059 | root->fs_info->open_ioctl_trans--; |
1060 | mutex_unlock(&root->fs_info->trans_mutex); | 1060 | mutex_unlock(&root->fs_info->trans_mutex); |
1061 | 1061 | ||
1062 | mnt_drop_write(file->f_path.mnt); | ||
1063 | |||
1062 | out: | 1064 | out: |
1063 | return ret; | 1065 | return ret; |
1064 | } | 1066 | } |