diff options
author | Mark Fasheh <mark.fasheh@oracle.com> | 2006-09-30 23:29:05 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-01 00:39:30 -0700 |
commit | 17ff785691503f63ec648df82a7fdaece7695561 (patch) | |
tree | 9777f4787253941c723aac1e13ab37fb285bcc4a /fs/qnx4 | |
parent | d8c76e6f45c111c32a4b3e50a2adc9210737b0d8 (diff) | |
download | linux-3.10-17ff785691503f63ec648df82a7fdaece7695561.tar.gz linux-3.10-17ff785691503f63ec648df82a7fdaece7695561.tar.bz2 linux-3.10-17ff785691503f63ec648df82a7fdaece7695561.zip |
[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