mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-25 10:19:47 +00:00
NFS: No need to set and return status in nfs41_lock_expired()
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
This commit is contained in:
parent
9df1336ca4
commit
81b68de493
1 changed files with 1 additions and 2 deletions
|
@ -6282,8 +6282,7 @@ static int nfs41_lock_expired(struct nfs4_state *state, struct file_lock *reques
|
|||
if (test_bit(NFS_LOCK_INITIALIZED, &lsp->ls_flags) ||
|
||||
test_bit(NFS_LOCK_LOST, &lsp->ls_flags))
|
||||
return 0;
|
||||
status = nfs4_lock_expired(state, request);
|
||||
return status;
|
||||
return nfs4_lock_expired(state, request);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue