summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_dir2_leaf.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2013-05-20 01:51:10 +0200
committerBen Myers <bpm@sgi.com>2013-05-20 21:29:34 +0200
commit52c24ad39ff02d7bd73c92eb0c926fb44984a41d (patch)
tree66a033ff6538570691dc60957564e3c4f9de38fe /fs/xfs/xfs_dir2_leaf.c
parentxfs: fix rounding in xfs_free_file_space (diff)
downloadlinux-52c24ad39ff02d7bd73c92eb0c926fb44984a41d.tar.xz
linux-52c24ad39ff02d7bd73c92eb0c926fb44984a41d.zip
xfs: Don't reference the EFI after it is freed
Checking the EFI for whether it is being released from recovery after we've already released the known active reference is a mistake worthy of a brown paper bag. Fix the (now) obvious use after free that it can cause. Reported-by: Dave Jones <davej@redhat.com> Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_dir2_leaf.c')
0 files changed, 0 insertions, 0 deletions