patch-2.3.42 linux/fs/autofs4/inode.c
Next file: linux/fs/nfsd/export.c
Previous file: linux/drivers/video/dnfb.c
Back to the patch index
Back to the overall index
- Lines: 28
- Date:
Mon Jan 31 10:19:46 2000
- Orig file:
v2.3.41/linux/fs/autofs4/inode.c
- Orig date:
Fri Jan 28 15:09:08 2000
diff -u --recursive --new-file v2.3.41/linux/fs/autofs4/inode.c linux/fs/autofs4/inode.c
@@ -140,7 +140,7 @@
*gid = current->gid;
*pgrp = current->pgrp;
- *minproto = *maxproto = AUTOFS_PROTO_VERSION;
+ *minproto = *maxproto = AUTOFS_MAX_PROTO_VERSION;
*pipefd = -1;
@@ -278,15 +278,15 @@
/* Couldn't this be tested earlier? */
if (maxproto < AUTOFS_MIN_PROTO_VERSION ||
- minproto > AUTOFS_PROTO_VERSION) {
+ minproto > AUTOFS_MAX_PROTO_VERSION) {
printk("autofs: kernel does not match daemon version "
"daemon (%d, %d) kernel (%d, %d)\n",
minproto, maxproto,
- AUTOFS_MIN_PROTO_VERSION, AUTOFS_PROTO_VERSION);
+ AUTOFS_MIN_PROTO_VERSION, AUTOFS_MAX_PROTO_VERSION);
goto fail_dput;
}
- sbi->version = maxproto > AUTOFS_PROTO_VERSION ? AUTOFS_PROTO_VERSION : maxproto;
+ sbi->version = maxproto > AUTOFS_MAX_PROTO_VERSION ? AUTOFS_MAX_PROTO_VERSION : maxproto;
DPRINTK(("autofs: pipe fd = %d, pgrp = %u\n", pipefd, sbi->oz_pgrp));
pipe = fget(pipefd);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)