summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4state.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2012-07-11 22:30:59 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-07-16 21:12:16 +0200
commit6bbb4ae8ffc4eef825c8742eff1fefae69a82e41 (patch)
tree04fed137757e04a19e0065b9c1441178fcdbe585 /fs/nfs/nfs4state.c
parentNFS: Treat NFS4ERR_CLID_INUSE as a fatal error (diff)
downloadlinux-6bbb4ae8ffc4eef825c8742eff1fefae69a82e41.tar.xz
linux-6bbb4ae8ffc4eef825c8742eff1fefae69a82e41.zip
NFS: Clean up nfs4_proc_setclientid() and friends
Add documenting comments and appropriate debugging messages. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4state.c')
-rw-r--r--fs/nfs/nfs4state.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/nfs/nfs4state.c b/fs/nfs/nfs4state.c
index 81eabcdad0e5..55148def5540 100644
--- a/fs/nfs/nfs4state.c
+++ b/fs/nfs/nfs4state.c
@@ -1665,6 +1665,10 @@ static int nfs4_establish_lease(struct nfs_client *clp)
return 0;
}
+/*
+ * Returns zero or a negative errno. NFS4ERR values are converted
+ * to local errno values.
+ */
static int nfs4_reclaim_lease(struct nfs_client *clp)
{
int status;