+/* return pointer to struct nfs4_client if client is expirable */ +static void * +nfsd4_lm_lock_expirable(struct file_lock *cfl) +{ + struct nfs4_lockowner *lo = (struct nfs4_lockowner *)cfl->fl_owner; + struct nfs4_client *clp = lo->lo_owner.so_client; + + if (try_to_expire_client(clp))
I dropped the mod_delayed_work here, will add it back.
+ return clp; + return NULL; +}
-Dai