git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
NFS: Move cl_delegations to the nfs_server struct
[pandora-kernel.git]
/
fs
/
nfs
/
nfs4renewd.c
diff --git
a/fs/nfs/nfs4renewd.c
b/fs/nfs/nfs4renewd.c
index
cde5650
..
402143d
100644
(file)
--- a/
fs/nfs/nfs4renewd.c
+++ b/
fs/nfs/nfs4renewd.c
@@
-80,7
+80,7
@@
nfs4_renew_state(struct work_struct *work)
cred = ops->get_state_renewal_cred_locked(clp);
spin_unlock(&clp->cl_lock);
if (cred == NULL) {
- if (
list_empty(&clp->cl_delegations
)) {
+ if (
!nfs_delegations_present(clp
)) {
set_bit(NFS4CLNT_LEASE_EXPIRED, &clp->cl_state);
goto out;
}