Re: [PATCH RFC v22 6/7] NFSD: add support for lock conflict to courteous server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




+/* 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




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux