commit | 15484377f597ca98ee84de87caa13667ea68bb14 | [log] [tgz] |
---|---|---|
author | Miao Xie <miaox@cn.fujitsu.com> | Wed Sep 03 21:35:40 2014 +0800 |
committer | Chris Mason <clm@fb.com> | Wed Sep 17 13:38:41 2014 -0700 |
tree | 70ccf2e4e260ec20e46e3b477865b71c22949f66 | |
parent | fe48a5c00f3c8087fc0a447caee2b5f9f97cf238 [diff] |
Btrfs: fix unprotected device list access when getting the fs information When we get the fs information, we forgot to acquire the mutex of device list, it might cause the problem we might access a device that was removed. Fix it by acquiring the device list mutex. Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>