From fe48a5c00f3c8087fc0a447caee2b5f9f97cf238 Mon Sep 17 00:00:00 2001 From: Miao Xie Date: Wed, 3 Sep 2014 21:35:39 +0800 Subject: [PATCH] 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-format-patch failed