@@ -68,6 +68,8 @@ MODULE_PARM_DESC(nfsd4_ssc_umount_timeout,
#define NFSDDBG_FACILITY NFSDDBG_PROC
+static void nfsd4_send_cb_offload(struct nfsd4_copy *copy);
+
static u32 nfsd_attrmask[] = {
NFSD_WRITEABLE_ATTRS_WORD0,
NFSD_WRITEABLE_ATTRS_WORD1,
@@ -1381,8 +1383,10 @@ void nfsd4_shutdown_copy(struct nfs4_client *clp)
{
struct nfsd4_copy *copy;
- while ((copy = nfsd4_get_copy(clp)) != NULL)
+ while ((copy = nfsd4_get_copy(clp)) != NULL) {
nfsd4_stop_copy(copy);
+ nfsd4_send_cb_offload(copy);
+ }
}
#ifdef CONFIG_NFSD_V4_2_INTER_SSC