mbox series

[0/2] lockd: fix hang on shutdown when there are active locks

Message ID 20220711183014.15161-1-jlayton@kernel.org (mailing list archive)
Headers show
Series lockd: fix hang on shutdown when there are active locks | expand

Message

Jeff Layton July 11, 2022, 6:30 p.m. UTC
We had a report that shutting down nfsd would hang when there were
active NFSv3 locks. The first patch fixes that.  While testing that I
hit a crash in nlm_close_files. The second patch fixes that one.

Jeff Layton (2):
  lockd: set fl_owner when unlocking files
  lockd: fix nlm_close_files

 fs/lockd/svcsubs.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

Comments

Chuck Lever III July 11, 2022, 7:47 p.m. UTC | #1
> On Jul 11, 2022, at 2:30 PM, Jeff Layton <jlayton@kernel.org> wrote:
> 
> We had a report that shutting down nfsd would hang when there were
> active NFSv3 locks. The first patch fixes that.  While testing that I
> hit a crash in nlm_close_files. The second patch fixes that one.
> 
> Jeff Layton (2):
>  lockd: set fl_owner when unlocking files
>  lockd: fix nlm_close_files
> 
> fs/lockd/svcsubs.c | 14 +++++++-------
> 1 file changed, 7 insertions(+), 7 deletions(-)

Grabbed both for the next 5.18-rc PR.

--
Chuck Lever