https://github.com/torvalds/linux
Revision a0634be562c27ddee7c94bce4f765f8071244e07 authored by Filipe David Borba Manana on 11 September 2013, 19:36:44 UTC, committed by Chris Mason on 21 September 2013, 15:05:29 UTC
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 <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
1 parent a724b43
History
Tip revision: a0634be562c27ddee7c94bce4f765f8071244e07 authored by Filipe David Borba Manana on 11 September 2013, 19:36:44 UTC
Btrfs: don't leak transaction in btrfs_sync_file()
Tip revision: a0634be
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.1 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 254.0 KB
Makefile -rw-r--r-- 47.4 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top