projects
/
unionfs-odf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfaa475
)
Unionfs: use VFS helpers to manipulate i_nlink
author
Erez Zadok
<ezk@cs.sunysb.edu>
Thu, 10 Jan 2008 17:05:17 +0000
(12:05 -0500)
committer
Rachita Kothiyal
<rachita@dewey.fsl.cs.sunysb.edu>
Thu, 1 May 2008 23:03:33 +0000
(19:03 -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 ce7891e530f6e6f584aeb15751382661dd34cc1b..d7203924de562a917de301115375c5d34a3eef5e 100644
(file)
--- 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)