diff options
author | 2014-03-06 13:55:03 +0800 | |
---|---|---|
committer | 2014-03-10 15:17:29 -0400 | |
commit | 573bfb72f7608eb7097d2dd036a714a6ab20cffe (patch) | |
tree | 5434c2e82299cf22af4470fef31d3890d209a0b9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Btrfs: split the global ordered extents mutex (diff) | |
download | linux-dev-573bfb72f7608eb7097d2dd036a714a6ab20cffe.tar.xz linux-dev-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 <miaox@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions