aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/async-thread.c
diff options
context:
space:
mode:
authorMiao Xie <[email protected]>2014-03-06 05:55:03 +0000
committerJosef Bacik <[email protected]>2014-03-10 19:17:29 +0000
commit573bfb72f7608eb7097d2dd036a714a6ab20cffe (patch)
tree5434c2e82299cf22af4470fef31d3890d209a0b9 /fs/btrfs/async-thread.c
parentBtrfs: split the global ordered extents mutex (diff)
downloadkernel-573bfb72f7608eb7097d2dd036a714a6ab20cffe.tar.gz
kernel-573bfb72f7608eb7097d2dd036a714a6ab20cffe.zip
Btrfs: fix possible empty list access when flushing the delalloc inodes
We didn't have a lock to protect the access to the delalloc inodes list, that is we might access a empty delalloc inodes list if someone start flushing delalloc inodes because the delalloc inodes were moved into a other list temporarily. Fix it by wrapping the access with a lock. Signed-off-by: Miao Xie <[email protected]> Signed-off-by: Josef Bacik <[email protected]>
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions