|
@@ -2241,6 +2241,9 @@ static bool client_has_state(struct nfs4_client *clp)
|
|
* Also note we should probably be using this in 4.0 case too.
|
|
* Also note we should probably be using this in 4.0 case too.
|
|
*/
|
|
*/
|
|
return !list_empty(&clp->cl_openowners)
|
|
return !list_empty(&clp->cl_openowners)
|
|
|
|
+#ifdef CONFIG_NFSD_PNFS
|
|
|
|
+ || !list_empty(&clp->cl_lo_states)
|
|
|
|
+#endif
|
|
|| !list_empty(&clp->cl_delegations)
|
|
|| !list_empty(&clp->cl_delegations)
|
|
|| !list_empty(&clp->cl_sessions);
|
|
|| !list_empty(&clp->cl_sessions);
|
|
}
|
|
}
|