aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4state.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2005-06-22 17:16:21 +0000
committerTrond Myklebust <Trond.Myklebust@netapp.com>2005-06-22 16:07:06 -0400
commit4ce79717ce32a9f88c1ddce4b9658556cb59d37a (patch)
tree7f0c5e4bdbc2ee15b8e902b951d1be200b35411f /fs/nfs/nfs4state.c
parent9085bbcb76421a90bea28f4d3d03fa9977319c49 (diff)
downloadkernel_samsung_crespo-4ce79717ce32a9f88c1ddce4b9658556cb59d37a.zip
kernel_samsung_crespo-4ce79717ce32a9f88c1ddce4b9658556cb59d37a.tar.gz
kernel_samsung_crespo-4ce79717ce32a9f88c1ddce4b9658556cb59d37a.tar.bz2
[PATCH] NFS: Header file cleanup...
- Move NFSv4 state definitions into a private header file. - Clean up gunk in nfs_fs.h Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4state.c')
-rw-r--r--fs/nfs/nfs4state.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/fs/nfs/nfs4state.c b/fs/nfs/nfs4state.c
index 231cebc..17b187f 100644
--- a/fs/nfs/nfs4state.c
+++ b/fs/nfs/nfs4state.c
@@ -46,24 +46,18 @@
#include <linux/workqueue.h>
#include <linux/bitops.h>
+#include "nfs4_fs.h"
#include "callback.h"
#include "delegation.h"
#define OPENOWNER_POOL_SIZE 8
-static DEFINE_SPINLOCK(state_spinlock);
-
-nfs4_stateid zero_stateid;
-
-#if 0
-nfs4_stateid one_stateid =
- { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff };
-#endif
+const nfs4_stateid zero_stateid;
+static DEFINE_SPINLOCK(state_spinlock);
static LIST_HEAD(nfs4_clientid_list);
static void nfs4_recover_state(void *);
-extern void nfs4_renew_state(void *);
void
init_nfsv4_state(struct nfs_server *server)