summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/delayed-inode.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2011-11-08 20:49:59 +0100
committerChris Mason <chris.mason@oracle.com>2011-11-08 20:49:59 +0100
commit917c16b2b69fc2eeb432eabca73258f08c58361e (patch)
tree3eb8b7d59bbb8c7d6cb54876428b485e72878692 /fs/btrfs/delayed-inode.c
parentbtrfs: fix double-free 'tree_root' in 'btrfs_mount()' (diff)
downloadlinux-917c16b2b69fc2eeb432eabca73258f08c58361e.tar.xz
linux-917c16b2b69fc2eeb432eabca73258f08c58361e.zip
Btrfs: fix oops on NULL trans handle in btrfs_truncate
If we fail to reserve space in the transaction during truncate, we can error out with a NULL trans handle. The cleanup code needs an extra check to make sure we aren't trying to use the bad handle. Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/delayed-inode.c')
0 files changed, 0 insertions, 0 deletions