]> git.baikalelectronics.ru Git - kernel.git/commit
lockd: unregister notifier blocks if the service fails to come up completely
authorScott Mayhew <smayhew@redhat.com>
Thu, 30 Jun 2016 14:39:32 +0000 (10:39 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 30 Jun 2016 20:35:07 +0000 (16:35 -0400)
commit9070299ef796ba1bac7112c350a2c0a8f7b04f73
tree6fe7e8fe627d4edb00a6587b96f20329f5b7df2c
parent826a6401d9f919734ec157a7b7a92aa78aac3745
lockd: unregister notifier blocks if the service fails to come up completely

If the lockd service fails to start up then we need to be sure that the
notifier blocks are not registered, otherwise a subsequent start of the
service could cause the same notifier to be registered twice, leading to
soft lockups.

Signed-off-by: Scott Mayhew <smayhew@redhat.com>
Cc: stable@vger.kernel.org
Fixes: 25d7de2c85be "lockd: Register callbacks on the inetaddr_chain..."
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/lockd/svc.c