patch-2.0.32 linux/fs/ncpfs/sock.c
Next file: linux/fs/proc/fd.c
Previous file: linux/fs/locks.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Mon Nov 17 15:25:52 1997
- Orig file:
v2.0.31/linux/fs/ncpfs/sock.c
- Orig date:
Wed Jul 10 03:19:24 1996
diff -u --recursive --new-file v2.0.31/linux/fs/ncpfs/sock.c linux/fs/ncpfs/sock.c
@@ -608,7 +608,7 @@
h->sequence = server->sequence;
h->conn_low = (server->connection) & 0xff;
h->conn_high = ((server->connection) & 0xff00) >> 8;
- h->task = (current->pid) & 0xff;
+ h->task = 2;
h->function = function;
if ((result = ncp_do_request(server, request_size + sizeof(*h))) < 0)
@@ -644,7 +644,7 @@
h->sequence = server->sequence;
h->conn_low = 0xff;
h->conn_high = 0xff;
- h->task = (current->pid) & 0xff;
+ h->task = 2;
h->function = 0;
if ((result = ncp_do_request(server, sizeof(*h))) < 0)
@@ -669,7 +669,7 @@
h->sequence = server->sequence;
h->conn_low = (server->connection) & 0xff;
h->conn_high = ((server->connection) & 0xff00) >> 8;
- h->task = (current->pid) & 0xff;
+ h->task = 2;
h->function = 0;
return ncp_do_request(server, sizeof(*h));
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov