Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cfc8ea87 authored by Sage Weil's avatar Sage Weil Committed by Chris Mason
Browse files

Btrfs: mnt_drop_write in ioctl_trans_end



Add missing mnt_drop_write to match the mnt_want_write in
btrfs_ioctl_trans_start.

Signed-off-by: default avatarSage Weil <sage@newdream.net>
parent 0403e47e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1059,6 +1059,8 @@ long btrfs_ioctl_trans_end(struct file *file)
	root->fs_info->open_ioctl_trans--;
	mutex_unlock(&root->fs_info->trans_mutex);

	mnt_drop_write(file->f_path.mnt);

out:
	return ret;
}