X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=fs%2F9p%2Fvfs_inode_dotl.c;h=82a7c38ddad0dec0c9ecded6fcc4d3eb93a50350;hp=ffbb113d5f33537892fd001dd0d75af9e6d1fd69;hb=167f829752f9cef51f59cc500abc0ad6ba69f5cb;hpb=76d21c563569bcea6bc67d65cc2c460cff643058 diff --git a/fs/9p/vfs_inode_dotl.c b/fs/9p/vfs_inode_dotl.c index ffbb113d5f33..82a7c38ddad0 100644 --- a/fs/9p/vfs_inode_dotl.c +++ b/fs/9p/vfs_inode_dotl.c @@ -811,7 +811,7 @@ v9fs_vfs_follow_link_dotl(struct dentry *dentry, struct nameidata *nd) fid = v9fs_fid_lookup(dentry); if (IS_ERR(fid)) { __putname(link); - link = ERR_PTR(PTR_ERR(fid)); + link = ERR_CAST(fid); goto ndset; } retval = p9_client_readlink(fid, &target);