mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-25 10:19:47 +00:00
NFS: Remove an extra if in _nfs4_recover_proc_open()
It's simpler just to return the status unconditionally Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
This commit is contained in:
parent
37a8484aef
commit
d7e9825848
1 changed files with 1 additions and 4 deletions
|
@ -2216,11 +2216,8 @@ static int _nfs4_recover_proc_open(struct nfs4_opendata *data)
|
|||
|
||||
nfs_fattr_map_and_free_names(NFS_SERVER(dir), &data->f_attr);
|
||||
|
||||
if (o_res->rflags & NFS4_OPEN_RESULT_CONFIRM) {
|
||||
if (o_res->rflags & NFS4_OPEN_RESULT_CONFIRM)
|
||||
status = _nfs4_proc_open_confirm(data);
|
||||
if (status != 0)
|
||||
return status;
|
||||
}
|
||||
|
||||
return status;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue