summaryrefslogtreecommitdiffstats
path: root/fs/jffs2/nodelist.c
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2007-04-23 13:11:46 +0200
committerDavid Woodhouse <dwmw2@infradead.org>2007-04-23 13:11:46 +0200
commit44b998e1eb254edc87177819ee693690fac68b7f (patch)
tree2f7d5511d8f0efc9e824a042d5ff50793a74de31 /fs/jffs2/nodelist.c
parent[JFFS2] Fix cross-endian build. (diff)
downloadlinux-44b998e1eb254edc87177819ee693690fac68b7f.tar.xz
linux-44b998e1eb254edc87177819ee693690fac68b7f.zip
[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>
Diffstat (limited to 'fs/jffs2/nodelist.c')
0 files changed, 0 insertions, 0 deletions