aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEvgeniy Dushistov <[email protected]>2007-04-16 22:53:24 -0700
committerLinus Torvalds <[email protected]>2007-04-17 16:36:27 -0700
commit07a0cfec30848319cc86f21cce0d2efeca593e1a (patch)
treeadf05a9b27e8298f0b8f810b5b2979f33350f097 /include
parent3d2c5b415ccd6c322e18adaed3a5b21f7ec555ef (diff)
ufs proper handling of zero link case
This patch should fix or partly fix this bug: http://bugzilla.kernel.org/show_bug.cgi?id=8276 The problem is: - if we see "zero link case" during reading inode operation, we call ufs_error(which remount fs readonly), but not "mark" inode as bad (1) - in readonly case we do not fill some data structures, which are used in read and write case (2) - VFS call ufs_delete_inode if link count is zero (3) so (1)->(3)->(2) cause oops, this patch should fix such scenario Signed-off-by: Evgeniy Dushistov <[email protected]> Cc: Jim Paris <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions