]> git.baikalelectronics.ru Git - kernel.git/commit
ext2: return after ext2_error in case of failures
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Wed, 6 Feb 2008 09:36:17 +0000 (01:36 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 6 Feb 2008 18:41:00 +0000 (10:41 -0800)
commita1fb91f4adaf227331c959c3fcfff095c95f7d1e
tree0575ad7ef65fb4277138bde9167221f8212930b4
parentee7e1cce2e0bd4bf2f8453d702c70d8b073e7ba8
ext2: return after ext2_error in case of failures

This fixes some instances where we were continuing after calling
ext2_error.  ext2_error call panic only if errors=panic mount option is
set.  So we need to make sure we return correctly after ext2_error call.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ext2/balloc.c