diff options
| author | Filipe David Borba Manana <[email protected]> | 2013-09-11 19:36:44 +0000 |
|---|---|---|
| committer | Chris Mason <[email protected]> | 2013-09-21 15:05:29 +0000 |
| commit | a0634be562c27ddee7c94bce4f765f8071244e07 (patch) | |
| tree | 0c32bf5f94d9a63d86975515f2ea706669702303 /fs/btrfs/async-thread.c | |
| parent | Btrfs: add the missing mutex unlock in write_all_supers() (diff) | |
| download | kernel-a0634be562c27ddee7c94bce4f765f8071244e07.tar.gz kernel-a0634be562c27ddee7c94bce4f765f8071244e07.zip | |
Btrfs: don't leak transaction in btrfs_sync_file()
In btrfs_sync_file(), if the call to btrfs_log_dentry_safe() returns
a negative error (for e.g. -ENOMEM via btrfs_log_inode()), we would
return without ending/freeing the transaction.
Signed-off-by: Josef Bacik <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions
