From: Miao Xie Date: Thu, 30 Jan 2014 08:46:54 +0000 (+0800) Subject: Btrfs: fix unprotected alloc list insertion during the finishing procedure of replace X-Git-Tag: v3.15-rc1~96^2~105 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=391cd9df81ac07ce7e66ac8fb13e56693061a6e6;p=pandora-kernel.git 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 Signed-off-by: Josef Bacik --- Reading git-diff-tree failed