mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-04-20 21:23:53 +00:00
NFSv4: don't fail on missing fattr in open recover
This is an unneeded check that could cause the client to fail to recover opens. Signed-off-by: Weston Andros Adamson <dros@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
f494a6071d
commit
a43ec98b72
1 changed files with 0 additions and 6 deletions
|
@ -1323,12 +1323,6 @@ _nfs4_opendata_reclaim_to_nfs4_state(struct nfs4_opendata *data)
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = -ESTALE;
|
|
||||||
if (!(data->f_attr.valid & NFS_ATTR_FATTR_TYPE) ||
|
|
||||||
!(data->f_attr.valid & NFS_ATTR_FATTR_FILEID) ||
|
|
||||||
!(data->f_attr.valid & NFS_ATTR_FATTR_CHANGE))
|
|
||||||
goto err;
|
|
||||||
|
|
||||||
ret = -ENOMEM;
|
ret = -ENOMEM;
|
||||||
state = nfs4_get_open_state(inode, data->owner);
|
state = nfs4_get_open_state(inode, data->owner);
|
||||||
if (state == NULL)
|
if (state == NULL)
|
||||||
|
|
Loading…
Add table
Reference in a new issue