patch-2.4.0-test10 linux/fs/nfsd/nfscache.c
Next file: linux/fs/nfsd/nfsfh.c
Previous file: linux/fs/nfsd/nfs3xdr.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Mon Oct 16 12:58:51 2000
- Orig file:
v2.4.0-test9/linux/fs/nfsd/nfscache.c
- Orig date:
Wed Jul 5 22:15:27 2000
diff -u --recursive --new-file v2.4.0-test9/linux/fs/nfsd/nfscache.c linux/fs/nfsd/nfscache.c
@@ -38,7 +38,7 @@
static struct svc_cacherep * lru_head;
static struct svc_cacherep * lru_tail;
static struct svc_cacherep * nfscache;
-static int cache_initialized = 0;
+static int cache_initialized;
static int cache_disabled = 1;
static int nfsd_cache_append(struct svc_rqst *rqstp, struct svc_buf *data);
@@ -215,7 +215,7 @@
/* This should not happen */
if (rp == NULL) {
- static int complaints = 0;
+ static int complaints;
printk(KERN_WARNING "nfsd: all repcache entries locked!\n");
if (++complaints > 5) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)