diff options
author | 2012-01-25 13:47:40 -0500 | |
---|---|---|
committer | 2012-01-27 10:44:44 -0500 | |
commit | 9998eb703490589c3e8f1bf09b15203156776edb (patch) | |
tree | 5d01f0e7efae049b9be80292c93fe30f11eeefd1 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | Btrfs: advance window_start if we're using a bitmap (diff) | |
download | linux-dev-9998eb703490589c3e8f1bf09b15203156776edb.tar.xz linux-dev-9998eb703490589c3e8f1bf09b15203156776edb.zip |
Btrfs: fix reservations in btrfs_page_mkwrite
Josef fixed btrfs_page_mkwrite to properly release reserved
extents if there was an error. But if we fail to get a reservation
and we fail to dirty the inode (for ENOSPC reasons), we'll end up
trying to release a reservation we never had.
This makes sure we only release if we were able to reserve.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions