]> 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)
commite727f57f7fc90dba0f7719dcbaf8cd61f9767123
tree0d4696a327c8ee2367a0061a5389437aad240feb
parentacda6464d4a3a1e1056282e814472d44699b708d
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