commit | 44b998e1eb254edc87177819ee693690fac68b7f | [log] [tgz] |
---|---|---|
author | David Woodhouse <dwmw2@infradead.org> | Mon Apr 23 12:11:46 2007 +0100 |
committer | David Woodhouse <dwmw2@infradead.org> | Mon Apr 23 12:11:46 2007 +0100 |
tree | 2f7d5511d8f0efc9e824a042d5ff50793a74de31 | |
parent | 566865a2a4791c9290155f651ee0c2c606db0b1d [diff] |
[JFFS2] Improve failure mode if inode checking leaves unchecked space. We should never find the unchecked size is non-zero after we've finished checking all inodes. If it happens, used to BUG(), leaving the alloc_sem held and deadlocking. Instead, just return -ENOSPC after complaining. The GC thread will die, but read-only operation should be able to continue and the file system should be unmountable. Signed-off-by: David Woodhouse <dwmw2@infradead.org>