Skip to content

Commit

Permalink
NFS: No need to set and return status in nfs41_lock_expired()
Browse files Browse the repository at this point in the history
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
  • Loading branch information
Anna Schumaker authored and Anna Schumaker committed Jan 30, 2017
1 parent 9df1336 commit 81b68de
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fs/nfs/nfs4proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 81b68de

Please sign in to comment.