aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/delegation.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/delegation.c')
-rw-r--r--fs/nfs/delegation.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/fs/nfs/delegation.c b/fs/nfs/delegation.c
index e27c0972f94..12de88353ee 100644
--- a/fs/nfs/delegation.c
+++ b/fs/nfs/delegation.c
@@ -453,11 +453,6 @@ static void nfs_client_mark_return_all_delegation_types(struct nfs_client *clp,
453 rcu_read_unlock(); 453 rcu_read_unlock();
454} 454}
455 455
456static void nfs_client_mark_return_all_delegations(struct nfs_client *clp)
457{
458 nfs_client_mark_return_all_delegation_types(clp, FMODE_READ|FMODE_WRITE);
459}
460
461static void nfs_delegation_run_state_manager(struct nfs_client *clp) 456static void nfs_delegation_run_state_manager(struct nfs_client *clp)
462{ 457{
463 if (test_bit(NFS4CLNT_DELEGRETURN, &clp->cl_state)) 458 if (test_bit(NFS4CLNT_DELEGRETURN, &clp->cl_state))
@@ -498,18 +493,6 @@ void nfs_expire_all_delegations(struct nfs_client *clp)
498 nfs_expire_all_delegation_types(clp, FMODE_READ|FMODE_WRITE); 493 nfs_expire_all_delegation_types(clp, FMODE_READ|FMODE_WRITE);
499} 494}
500 495
501/**
502 * nfs_handle_cb_pathdown - return all delegations after NFS4ERR_CB_PATH_DOWN
503 * @clp: client to process
504 *
505 */
506void nfs_handle_cb_pathdown(struct nfs_client *clp)
507{
508 if (clp == NULL)
509 return;
510 nfs_client_mark_return_all_delegations(clp);
511}
512
513static void nfs_mark_return_unreferenced_delegations(struct nfs_server *server) 496static void nfs_mark_return_unreferenced_delegations(struct nfs_server *server)
514{ 497{
515 struct nfs_delegation *delegation; 498 struct nfs_delegation *delegation;