commit 09262a38c792b86dfef741b693da4d3de6bda208
Author: Erez Zadok <[EMAIL PROTECTED]>
Date: Thu Jan 10 12:05:17 2008 -0500
Unionfs: use VFS helpers to manipulate i_nlink
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
diff --git a/fs/unionfs/unlink.c b/fs/unionfs/unlink.c
index ce7891e..d720392 100644
--- a/fs/unionfs/unlink.c
+++ b/fs/unionfs/unlink.c
@@ -89,7 +89,7 @@ static int unionfs_do_unlink(struct inode *dir, struct dentry
*dentry)
out:
if (!err)
- dentry->d_inode->i_nlink--;
+ inode_dec_link_count(dentry->d_inode);
/* We don't want to leave negative leftover dentries for revalidate. */
if (!err && opaque != -1)
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs