]> err.no Git - linux-2.6/commit
[PATCH] ext3 filesystem bogus ENOSPC with reservation fix
authorMingming Cao <cmm@us.ibm.com>
Sun, 27 Aug 2006 08:23:44 +0000 (01:23 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 27 Aug 2006 18:01:30 +0000 (11:01 -0700)
commit08fb306fe63d98eb86e3b16f4cc21816fa47f18e
tree16f48eb09736b99fef7bf133b9785315becbacb8
parent607eb266aea9dd2abe515985e12c5cd8b32546e8
[PATCH] ext3 filesystem bogus ENOSPC with reservation fix

To handle the earlier bogus ENOSPC error caused by filesystem full of block
reservation, current code falls back to non block reservation, starts to
allocate block(s) from the goal allocation block group as if there is no
block reservation.

Current code needs to re-load the corresponding block group descriptor for
the initial goal block group in this case.  The patch fixes this.

Signed-off-by: Mingming Cao <cmm@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/ext3/balloc.c