diff options
author | Miao Xie <miaox@cn.fujitsu.com> | 2014-09-03 15:35:40 +0200 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-09-17 22:38:41 +0200 |
commit | 15484377f597ca98ee84de87caa13667ea68bb14 (patch) | |
tree | 70ccf2e4e260ec20e46e3b477865b71c22949f66 /fs/btrfs/dev-replace.c | |
parent | Btrfs: fix unprotected system chunk array insertion (diff) | |
download | linux-15484377f597ca98ee84de87caa13667ea68bb14.tar.xz linux-15484377f597ca98ee84de87caa13667ea68bb14.zip |
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>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions