From: Miao Xie Date: Wed, 3 Sep 2014 13:35:39 +0000 (+0800) Subject: Btrfs: fix unprotected system chunk array insertion X-Git-Tag: fixes-against-v3.18-rc2~120^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe48a5c00f3c8087fc0a447caee2b5f9f97cf238;p=pandora-kernel.git Btrfs: fix unprotected system chunk array insertion We didn't protect the system chunk array when we added a new system chunk into it, it would cause the array be corrupted if someone remove/add some system chunk into array at the same time. Fix it by chunk lock. Signed-off-by: Miao Xie Signed-off-by: Chris Mason --- Reading git-diff-tree failed