commit | 391cd9df81ac07ce7e66ac8fb13e56693061a6e6 | [log] [tgz] |
---|---|---|
author | Miao Xie <miaox@cn.fujitsu.com> | Thu Jan 30 16:46:54 2014 +0800 |
committer | Josef Bacik <jbacik@fb.com> | Mon Mar 10 15:15:38 2014 -0400 |
tree | 34a873797c1cb54e999afd63c46f2927510b159a | |
parent | 23ad5b17dce0f09af82c071b26acac35a0ab892b [diff] |
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>