Trond Myklebust 9c07b75b80 NFS: Fix a race in __nfs_list_for_each_server()
The struct nfs_server gets put on the cl_superblocks list before
the server->super field has been initialised, in which case the
call to nfs_sb_active() will Oops. Add a check to ensure that
we skip such a list entry.

Fixes: 3c9e502b59fb ("NFS: Add a helper nfs_client_for_each_server()")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
2020-04-30 15:08:26 -04:00
..
2020-04-07 13:51:39 -07:00
2019-02-20 15:14:21 -05:00
2020-02-03 10:43:06 -05:00
2020-02-04 11:01:54 -05:00
2019-10-09 12:05:49 -04:00
2020-04-11 11:42:35 -04:00