fs/9p: Fix error reported by coccicheck

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
This commit is contained in:
Aneesh Kumar K.V 2011-03-24 23:04:41 +05:30 committed by Eric Van Hensbergen
parent df5d8c80f1
commit 936bb2d703
1 changed files with 1 additions and 1 deletions

View File

@ -811,7 +811,7 @@ v9fs_vfs_follow_link_dotl(struct dentry *dentry, struct nameidata *nd)
fid = v9fs_fid_lookup(dentry); fid = v9fs_fid_lookup(dentry);
if (IS_ERR(fid)) { if (IS_ERR(fid)) {
__putname(link); __putname(link);
link = ERR_PTR(PTR_ERR(fid)); link = ERR_CAST(fid);
goto ndset; goto ndset;
} }
retval = p9_client_readlink(fid, &target); retval = p9_client_readlink(fid, &target);