]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: setlease should return EAGAIN if locks are not available
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 25 Jun 2021 19:08:39 +0000 (15:08 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 29 Jun 2021 17:13:31 +0000 (13:13 -0400)
commit3178f911e3a5cdb767270187bbad19ebbf6ae9a1
tree0d4696a327c8ee2367a0061a5389437aad240feb
parent74874bd4493fbc584fffe59a703b8c6b701d9783
NFSv4: setlease should return EAGAIN if locks are not available

Instead of returning ENOLCK when we can't hand out a lease, we should be
returning EAGAIN.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs4proc.c