diff options
author | Vasily Averin <vvs@virtuozzo.com> | 2017-10-20 16:33:18 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2017-11-07 22:43:58 +0100 |
commit | dc3033e16c59a2c4e62b31341258a5786cbcee56 (patch) | |
tree | 48625c488caed74f6df838b283092186d4d98c23 /fs/nfsd/nfs4layouts.c | |
parent | nfsd4: catch some false session retries (diff) | |
download | linux-dc3033e16c59a2c4e62b31341258a5786cbcee56.tar.xz linux-dc3033e16c59a2c4e62b31341258a5786cbcee56.zip |
lockd: double unregister of inetaddr notifiers
lockd_up() can call lockd_unregister_notifiers twice:
inside lockd_start_svc() when it calls lockd_svc_exit_thread()
and then in error path of lockd_up()
Patch forces lockd_start_svc() to unregister notifiers in all error cases
and removes extra unregister in error path of lockd_up().
Fixes: cb7d224f82e4 "lockd: unregister notifier blocks if the service ..."
Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
Cc: stable@vger.kernel.org
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs4layouts.c')
0 files changed, 0 insertions, 0 deletions