projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
new helper: ihold()
[deliverable/linux.git]
/
fs
/
sysv
/
namei.c
diff --git
a/fs/sysv/namei.c
b/fs/sysv/namei.c
index 33e047b59b8d659975d6c325835f0d11a2df27d4..11e7f7d11cd06fe85bf694397d3608b805db1fe3 100644
(file)
--- a/
fs/sysv/namei.c
+++ b/
fs/sysv/namei.c
@@
-126,7
+126,7
@@
static int sysv_link(struct dentry * old_dentry, struct inode * dir,
inode->i_ctime = CURRENT_TIME_SEC;
inode_inc_link_count(inode);
-
atomic_inc(&inode->i_count
);
+
ihold(inode
);
return add_nondir(dentry, inode);
}
This page took
0.041016 seconds
and
5
git commands to generate.