patch-2.1.12 linux/fs/nfs/nfsroot.c

Next file: linux/fs/nfs/proc.c
Previous file: linux/fs/exec.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.11/linux/fs/nfs/nfsroot.c linux/fs/nfs/nfsroot.c
@@ -1560,7 +1560,7 @@
  */
 static int *root_nfs_header(int proc, int program, int version)
 {
-	int groups[] = { 0, NOGROUP };
+	gid_t groups[] = { 0 };
 
 	if (rpc_packet == NULL) {
 		if (!(rpc_packet = kmalloc(nfs_data.wsize + 1024, GFP_NFS))) {
@@ -1568,7 +1568,7 @@
 			return NULL;
 		}
 	}
-	return rpc_header(rpc_packet, proc, program, version, 0, 0, groups);
+	return rpc_header(rpc_packet, proc, program, version, 0, 0, 1, groups);
 }
 
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov