]> git.baikalelectronics.ru Git - kernel.git/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)
commit52322510decf70dba969fd2dd5cb0e25f1e02928
tree16f48eb09736b99fef7bf133b9785315becbacb8
parented2f999a5a6db13216312188af4a84023baf4e90
[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