projects
/
unionfs-2.6.39.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8770a9b
)
Unionfs: use VFS helpers to manipulate i_nlink
author
Erez Zadok
<ezk@cs.sunysb.edu>
Tue, 1 Jan 2008 21:43:39 +0000
(16:43 -0500)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Fri, 12 Aug 2011 02:37:26 +0000
(22:37 -0400)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/unlink.c
patch
|
blob
|
history
diff --git
a/fs/unionfs/unlink.c
b/fs/unionfs/unlink.c
index a1c82b6d2d8e08d0e25dfe1f52409ee2193a801e..1e370a1f21d3806412e63dc514e317b57f538857 100644
(file)
--- a/
fs/unionfs/unlink.c
+++ b/
fs/unionfs/unlink.c
@@
-79,7
+79,7
@@
static int unionfs_unlink_whiteout(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 && (dbopaque(dentry) != -1))