diff options
author | Dave Jones <davej@redhat.com> | 2012-04-12 16:03:56 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2012-04-12 16:03:56 -0400 |
commit | 4edc2ca388d62abffe38149f6ac00e749ea721c5 (patch) | |
tree | 6e31a2d72b9bb05f46960c0a8a789044f5dcf584 /init | |
parent | e627ee7bcd42b4e3a03ca01a8e46dcb4033c5ae0 (diff) | |
download | linux-3.10-4edc2ca388d62abffe38149f6ac00e749ea721c5.tar.gz linux-3.10-4edc2ca388d62abffe38149f6ac00e749ea721c5.tar.bz2 linux-3.10-4edc2ca388d62abffe38149f6ac00e749ea721c5.zip |
Btrfs: fix use-after-free in __btrfs_end_transaction
49b25e0540904be0bf558b84475c69d72e4de66e introduced a use-after-free bug
that caused spurious -EIO's to be returned.
Do the check before we free the transaction.
Cc: David Sterba <dsterba@suse.cz>
Cc: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions