X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Focfs2%2Fnamei.c;h=ff5744e1e36fcb9200158eb419abc3ebdf33ec5b;hb=12462f2df4d10ea4f6d55b9d438ff788badec3f0;hp=e7bde21149aee4f4e1dfed501069358927a064d7;hpb=fbaab1dc19751c80a7df62425f1d9ad2688e42f5;p=pandora-kernel.git diff --git a/fs/ocfs2/namei.c b/fs/ocfs2/namei.c index e7bde21149ae..ff5744e1e36f 100644 --- 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);