summaryrefslogtreecommitdiff
path: root/fs/qnx4
diff options
context:
space:
mode:
authorMark Fasheh <mark.fasheh@oracle.com>2006-10-01 10:29:05 +0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-01 11:39:30 +0400
commit17ff785691503f63ec648df82a7fdaece7695561 (patch)
tree9777f4787253941c723aac1e13ab37fb285bcc4a /fs/qnx4
parentd8c76e6f45c111c32a4b3e50a2adc9210737b0d8 (diff)
downloadlinux-17ff785691503f63ec648df82a7fdaece7695561.tar.xz
[PATCH] r/o bind mounts: clean up OCFS2 nlink handling
OCFS2 does some operations on i_nlink, then reverts them if some of its operations fail to complete. This does not fit in well with the drop_nlink() logic where we expect i_nlink to stay at zero once it gets there. So, delay all of the nlink operations until we're sure that the operations have completed. Also, introduce a small helper to check whether an inode has proper "unlinkable" i_nlink counts no matter whether it is a directory or regular inode. This patch is broken out from the others because it does contain some logical changes. Signed-off-by: Dave Hansen <haveblue@us.ibm.com> Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/qnx4')
0 files changed, 0 insertions, 0 deletions