Commit 0339afa3 authored by Trond Myklebust's avatar Trond Myklebust

NFS: From the suse kenrel RPM: handle ENOMEM from nfs_fhget().

parent a5210eec
......@@ -993,9 +993,9 @@ static int nfs_instantiate(struct dentry *dentry, struct nfs_fh *fhandle,
d_instantiate(dentry, inode);
nfs_renew_times(dentry);
nfs_set_verifier(dentry, nfs_save_change_attribute(dentry->d_parent->d_inode));
error = 0;
return 0;
}
return error;
error = -ENOMEM;
out_err:
d_drop(dentry);
return error;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment