diff options
author | 2015-04-30 17:47:05 +0100 | |
---|---|---|
committer | 2015-06-02 19:34:34 -0700 | |
commit | 35c766425adc8e6cd1bdc8554fa540364f218fb7 (patch) | |
tree | 390f8b66884310a7c9531275425af2e467f8eb4e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Btrfs: log when missing device is created (diff) | |
download | wireguard-linux-35c766425adc8e6cd1bdc8554fa540364f218fb7.tar.xz wireguard-linux-35c766425adc8e6cd1bdc8554fa540364f218fb7.zip |
Btrfs: fix mutex unlock without prior lock on space cache truncation
If the call to btrfs_truncate_inode_items() failed and we don't have a block
group, we were unlocking the cache_write_mutex without having locked it (we
do it only if we have a block group).
Fixes: 1bbc621ef284 ("Btrfs: allow block group cache writeout
outside critical section in commit")
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions