lockd: Try to reconnect if statd has moved
authorBenjamin Coddington <bcodding@redhat.com>
Tue, 23 Sep 2014 16:26:20 +0000 (12:26 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 25 Sep 2014 03:08:43 +0000 (23:08 -0400)
commit173b3afceebe76fa2205b2c8808682d5b541fe3c
treea3837987cb5dd87fae87b9769a571b81ce334cb5
parenta743419f420a64d442280845c0377a915b76644f
lockd: Try to reconnect if statd has moved

If rpc.statd is restarted, upcalls to monitor hosts can fail with
ECONNREFUSED.  In that case force a lookup of statd's new port and retry the
upcall.

Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/lockd/mon.c