]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: make nfs_match_client killable
authorRoberto Bergantinos Corpas <rbergant@redhat.com>
Thu, 25 Apr 2019 13:36:51 +0000 (15:36 +0200)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 7 May 2019 14:38:14 +0000 (10:38 -0400)
commit504c2ee2c144f2b4e76d452407f0cbfc2d2e9be6
tree3fae267fb97c6507a0dc85f66387d57ced5e06de
parent9f8498220a1a92c281da542e9d69af45056b4af6
NFS: make nfs_match_client killable

    Actually we don't do anything with return value from
    nfs_wait_client_init_complete in nfs_match_client, as a
    consequence if we get a fatal signal and client is not
    fully initialised, we'll loop to "again" label

    This has been proven to cause soft lockups on some scenarios
    (no-carrier but configured network interfaces)

Signed-off-by: Roberto Bergantinos Corpas <rbergant@redhat.com>
Reviewed-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/client.c