Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 175967
b: refs/heads/master
c: b4a6f49
h: refs/heads/master
i:
  175965: da7f734
  175963: f2b66d6
  175959: 276ec91
  175951: 5e8016a
  175935: 9942f68
v: v3
  • Loading branch information
Alexandros Batsakis authored and Trond Myklebust committed Dec 5, 2009
1 parent 33d5a79 commit 018acb6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 07bccc2dd4e8745859f0fa7d120ea39320fbcdbf
refs/heads/master: b4a6f4966efc7e70dc8d8a9e60744de6845b14bf
6 changes: 2 additions & 4 deletions trunk/fs/nfs/delegation.c
Original file line number Diff line number Diff line change
Expand Up @@ -391,8 +391,7 @@ static void nfs_client_mark_return_all_delegations(struct nfs_client *clp)

rcu_read_lock();
list_for_each_entry_rcu(delegation, &clp->cl_delegations, super_list) {
set_bit(NFS_DELEGATION_RETURN, &delegation->flags);
set_bit(NFS4CLNT_DELEGRETURN, &clp->cl_state);
nfs_mark_return_delegation(clp, delegation);
}
rcu_read_unlock();
}
Expand Down Expand Up @@ -427,8 +426,7 @@ static void nfs_client_mark_return_unreferenced_delegations(struct nfs_client *c
list_for_each_entry_rcu(delegation, &clp->cl_delegations, super_list) {
if (test_and_clear_bit(NFS_DELEGATION_REFERENCED, &delegation->flags))
continue;
set_bit(NFS_DELEGATION_RETURN, &delegation->flags);
set_bit(NFS4CLNT_DELEGRETURN, &clp->cl_state);
nfs_mark_return_delegation(clp, delegation);
}
rcu_read_unlock();
}
Expand Down

0 comments on commit 018acb6

Please sign in to comment.