summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/volumes.c
diff options
context:
space:
mode:
authorMiao Xie <miaox@cn.fujitsu.com>2014-01-30 09:46:54 +0100
committerJosef Bacik <jbacik@fb.com>2014-03-10 20:15:38 +0100
commit391cd9df81ac07ce7e66ac8fb13e56693061a6e6 (patch)
tree34a873797c1cb54e999afd63c46f2927510b159a /fs/btrfs/volumes.c
parentbtrfs: Return EXDEV for cross file system snapshot (diff)
downloadlinux-391cd9df81ac07ce7e66ac8fb13e56693061a6e6.tar.xz
linux-391cd9df81ac07ce7e66ac8fb13e56693061a6e6.zip
Btrfs: fix unprotected alloc list insertion during the finishing procedure of replace
the alloc list of the filesystem is protected by ->chunk_mutex, we need get that mutex when we insert the new device into the list. Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Josef Bacik <jbacik@fb.com>
Diffstat (limited to 'fs/btrfs/volumes.c')
0 files changed, 0 insertions, 0 deletions