summaryrefslogtreecommitdiffstats
path: root/fs/quota/compat.c
diff options
context:
space:
mode:
authorMiao Xie <miaox@cn.fujitsu.com>2014-09-03 21:35:40 +0800
committerChris Mason <clm@fb.com>2014-09-17 13:38:41 -0700
commit15484377f597ca98ee84de87caa13667ea68bb14 (patch)
tree70ccf2e4e260ec20e46e3b477865b71c22949f66 /fs/quota/compat.c
parentfe48a5c00f3c8087fc0a447caee2b5f9f97cf238 (diff)
downloadop-kernel-dev-15484377f597ca98ee84de87caa13667ea68bb14.zip
op-kernel-dev-15484377f597ca98ee84de87caa13667ea68bb14.tar.gz
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/quota/compat.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud