From: Greg Kroah-Hartman Date: Sun, 14 Aug 2016 19:50:09 +0000 (+0200) Subject: fix up queue-3.14/ext4-fix-reference-counting-bug-on-block-allocation-error.patch X-Git-Tag: v3.14.76~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9cdb148a2723fc7355e415b843e9738b68c03403;p=thirdparty%2Fkernel%2Fstable-queue.git fix up queue-3.14/ext4-fix-reference-counting-bug-on-block-allocation-error.patch --- diff --git a/queue-3.14/ext4-fix-reference-counting-bug-on-block-allocation-error.patch b/queue-3.14/ext4-fix-reference-counting-bug-on-block-allocation-error.patch index 3211d532f73..0626bdb78e1 100644 --- a/queue-3.14/ext4-fix-reference-counting-bug-on-block-allocation-error.patch +++ b/queue-3.14/ext4-fix-reference-counting-bug-on-block-allocation-error.patch @@ -39,7 +39,7 @@ Signed-off-by: Greg Kroah-Hartman "fs metadata", block, block+len); /* File system mounted not to panic on error - * Fix the bitmap and repeat the block allocation -+ * Fix the bitmap and return EFSCORRUPTED ++ * Fix the bitmap and return EUCLEAN * We leak some of the blocks here. */ ext4_lock_group(sb, ac->ac_b_ex.fe_group); @@ -48,7 +48,7 @@ Signed-off-by: Greg Kroah-Hartman err = ext4_handle_dirty_metadata(handle, NULL, bitmap_bh); if (!err) - err = -EAGAIN; -+ err = -EFSCORRUPTED; ++ err = -EUCLEAN; goto out_err; }