summaryrefslogtreecommitdiff
path: root/fs/proc/base.c
diff options
context:
space:
mode:
authorAlexander Block <ablock84@googlemail.com>2012-08-03 03:16:20 +0400
committerChris Mason <chris.mason@fusionio.com>2012-08-09 19:01:54 +0400
commite00da2067b78a9246f767012a3803224c40b1f9f (patch)
treea7f59eccdf232b8bf847d14a6f8ab849a8b89fbb /fs/proc/base.c
parent0d7614f09c1ebdbaa1599a5aba7593f147bf96ee (diff)
downloadlinux-e00da2067b78a9246f767012a3803224c40b1f9f.tar.xz
Btrfs: remove mnt_want_write call in btrfs_mksubvol
We got a recursive lock in mksubvol because the caller already held a lock. I think we got into this due to a merge error. Commit a874a63 removed the mnt_want_write call from btrfs_mksubvol and added a replacement call to mnt_want_write_file in btrfs_ioctl_snap_create_transid. Commit e7848683 however tried to move all calls to mnt_want_write above i_mutex. So somewhere while merging this, it got mixed up. The solution is to remove the mnt_want_write call completely from mksubvol. Reported-by: David Sterba <dave@jikos.cz> Signed-off-by: Alexander Block <ablock84@googlemail.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/proc/base.c')
0 files changed, 0 insertions, 0 deletions