diff options
| author | Filipe Manana <[email protected]> | 2014-05-29 22:31:39 +0000 |
|---|---|---|
| committer | Chris Mason <[email protected]> | 2014-06-10 00:21:06 +0000 |
| commit | b05fd8742f6291b67571ad0fdad4da6b6eb98025 (patch) | |
| tree | c2fe9187c659db8c7c900b144c55a7810fcbf138 /tools/perf/scripts/python | |
| parent | btrfs: Avoid trucating page or punching hole in a already existed hole. (diff) | |
| download | kernel-b05fd8742f6291b67571ad0fdad4da6b6eb98025.tar.gz kernel-b05fd8742f6291b67571ad0fdad4da6b6eb98025.zip | |
Btrfs: fix transaction leak during fsync call
If btrfs_log_dentry_safe() returns an error, we set ret to 1 and
fall through with the goal of committing the transaction. However,
in the case where the inode doesn't need a full sync, we would call
btrfs_wait_ordered_range() against the target range for our inode,
and if it returned an error, we would return without commiting or
ending the transaction.
Signed-off-by: Filipe David Borba Manana <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
