Messages in this thread Patch in this message | | | Date | Thu, 16 Jan 2014 11:54:07 -0500 (EST) | From | Bob Peterson <> | Subject | Re: [PATCH] dcache: fix d_splice_alias handling of aliases |
| |
----- Original Message ----- | Something like this? (snip) | @@ -779,6 +782,11 @@ static struct dentry *__gfs2_lookup(struct inode *dir, | struct dentry *dentry, | } | | d = d_splice_alias(inode, dentry); | + if (IS_ERR(d)) { | + iput(inode); | + gfs2_glock_dq_uninit(&gh); | + return ERR_PTR(error);
---------------------------------^ Shouldn't that be ERR_PTR(d)?
Bob Peterson Red Hat File Systems
| |