]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - fs/nfs/delegation.c
NFSv4: don't mark all open state for recovery when handling recallable state revoked flag
[linux.git] / fs / nfs / delegation.c
index 2f6b447cdd8256c393fcf1cc4580a7174e8a3055..8b78274e3e56fb0e8973e1a5121348d8dbd632a2 100644 (file)
@@ -1033,6 +1033,18 @@ void nfs_mark_test_expired_all_delegations(struct nfs_client *clp)
        rcu_read_unlock();
 }
 
+/**
+ * nfs_test_expired_all_delegations - test all delegations for a client
+ * @clp: nfs_client to process
+ *
+ * Helper for handling "recallable state revoked" status from server.
+ */
+void nfs_test_expired_all_delegations(struct nfs_client *clp)
+{
+       nfs_mark_test_expired_all_delegations(clp);
+       nfs4_schedule_state_manager(clp);
+}
+
 /**
  * nfs_reap_expired_delegations - reap expired delegations
  * @clp: nfs_client to process