aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs')
-rw-r--r--fs/nfs/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c
index 3e2123fe79f5..831d61c4449b 100644
--- a/fs/nfs/dir.c
+++ b/fs/nfs/dir.c
@@ -1218,7 +1218,7 @@ static struct dentry *nfs_lookup(struct inode *dir, struct dentry * dentry, stru
1218 goto out_unblock_sillyrename; 1218 goto out_unblock_sillyrename;
1219 } 1219 }
1220 inode = nfs_fhget(dentry->d_sb, fhandle, fattr); 1220 inode = nfs_fhget(dentry->d_sb, fhandle, fattr);
1221 res = (struct dentry *)inode; 1221 res = ERR_CAST(inode);
1222 if (IS_ERR(res)) 1222 if (IS_ERR(res))
1223 goto out_unblock_sillyrename; 1223 goto out_unblock_sillyrename;
1224 1224