git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
new helper: ihold()
[pandora-kernel.git]
/
fs
/
ocfs2
/
namei.c
diff --git
a/fs/ocfs2/namei.c
b/fs/ocfs2/namei.c
index
e7bde21
..
ff5744e
100644
(file)
--- a/
fs/ocfs2/namei.c
+++ b/
fs/ocfs2/namei.c
@@
-742,7
+742,7
@@
static int ocfs2_link(struct dentry *old_dentry,
goto out_commit;
}
-
atomic_inc(&inode->i_count
);
+
ihold(inode
);
dentry->d_op = &ocfs2_dentry_ops;
d_instantiate(dentry, inode);