mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-26 19:14:18 +00:00
nfsd: remove unneeded EEXIST error check in nfsd_do_file_acquire
[ Upstream commit81a95c2b1d] Given that we do the search and insertion while holding the i_lock, I don't think it's possible for us to get EEXIST here. Remove this case. Fixes:c6593366c0("nfsd: don't kill nfsd_files because of lease break error") Signed-off-by: Jeff Layton <jlayton@kernel.org> Tested-by: Youzhong Yang <youzhong@gmail.com> Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
6ba2624779
commit
982dfdfd59
1 changed files with 0 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue