aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fault-inject.c
diff options
context:
space:
mode:
authorDave Chinner <[email protected]>2013-05-19 23:51:10 +0000
committerBen Myers <[email protected]>2013-05-24 21:27:57 +0000
commit509e708a8929c5b75a16c985c03db5329e09cad4 (patch)
treec03099a439d04ef0c911eb250256a2a4a3189b85 /lib/fault-inject.c
parentxfs: fix rounding in xfs_free_file_space (diff)
downloadkernel-509e708a8929c5b75a16c985c03db5329e09cad4.tar.gz
kernel-509e708a8929c5b75a16c985c03db5329e09cad4.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 <[email protected]> Signed-off-by: Dave Chinner <[email protected]> Reviewed-by: Brian Foster <[email protected]> Signed-off-by: Ben Myers <[email protected]> (cherry picked from commit 52c24ad39ff02d7bd73c92eb0c926fb44984a41d)
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions