aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMark Fasheh <[email protected]>2006-09-30 23:29:05 -0700
committerLinus Torvalds <[email protected]>2006-10-01 00:39:30 -0700
commit17ff785691503f63ec648df82a7fdaece7695561 (patch)
tree9777f4787253941c723aac1e13ab37fb285bcc4a /include/linux
parentd8c76e6f45c111c32a4b3e50a2adc9210737b0d8 (diff)
[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 <[email protected]> Signed-off-by: Mark Fasheh <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Al Viro <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions