--- ./fs/nfs/dir.c.orig 2005-02-07 23:04:03.000000000 +0100 +++ ./fs/nfs/dir.c 2005-02-07 23:04:37.000000000 +0100 @@ -1043,7 +1043,7 @@ lock_kernel(); nfs_begin_data_update(dir); error = NFS_PROTO(dir)->mknod(dir, &dentry->d_name, &attr, rdev, - &fhandle, &fattr); + &fhandle, &fattr, &fsg); nfs_end_data_update(dir); if (!error) error = nfs_instantiate(dentry, &fhandle, &fattr, &fsg); --- ./fs/nfs/proc.c.orig 2005-02-07 23:04:03.000000000 +0100 +++ ./fs/nfs/proc.c 2005-02-07 23:04:37.000000000 +0100 @@ -267,7 +267,8 @@ */ static int nfs_proc_mknod(struct inode *dir, struct qstr *name, struct iattr *sattr, - dev_t rdev, struct nfs_fh *fhandle, struct nfs_fattr *fattr) + dev_t rdev, struct nfs_fh *fhandle, struct nfs_fattr *fattr, + struct rpc_groups *fsg) { struct nfs_createargs arg = { .fh = NFS_FH(dir), @@ -293,12 +294,12 @@ } fattr->valid = 0; - status = nfs2_rpc(NFS_CLIENT(dir), NFSPROC_CREATE, &arg, &res); + status = nfs2_rpc(NFS_CLIENT(dir), NFSPROC_CREATE, &arg, &res, fsg); if (status == -EINVAL && S_ISFIFO(mode)) { sattr->ia_mode = mode; fattr->valid = 0; - status = nfs2_rpc(NFS_CLIENT(dir), NFSPROC_CREATE, &arg, &res); + status = nfs2_rpc(NFS_CLIENT(dir), NFSPROC_CREATE, &arg, &res, fsg); } dprintk("NFS reply mknod: %d\n", status); return status; --- ./fs/nfs/nfs3proc.c.orig 2005-02-07 23:04:03.000000000 +0100 +++ ./fs/nfs/nfs3proc.c 2005-02-07 23:04:37.000000000 +0100 @@ -618,7 +618,8 @@ static int nfs3_proc_mknod(struct inode *dir, struct qstr *name, struct iattr *sattr, - dev_t rdev, struct nfs_fh *fh, struct nfs_fattr *fattr) + dev_t rdev, struct nfs_fh *fh, struct nfs_fattr *fattr, + struct rpc_groups *fsg) { struct nfs_fattr dir_attr; struct nfs3_mknodargs arg = { @@ -647,7 +648,7 @@ MAJOR(rdev), MINOR(rdev)); dir_attr.valid = 0; fattr->valid = 0; - status = nfs3_rpc(NFS_CLIENT(dir), NFS3PROC_MKNOD, &arg, &res); + status = nfs3_rpc(NFS_CLIENT(dir), NFS3PROC_MKNOD, &arg, &res, fsg); nfs_refresh_inode(dir, &dir_attr); dprintk("NFS reply mknod: %d\n", status); return status; --- ./fs/nfs/nfs4proc.c.orig 2005-02-07 23:04:03.000000000 +0100 +++ ./fs/nfs/nfs4proc.c 2005-02-07 23:04:37.000000000 +0100 @@ -1686,7 +1686,7 @@ static int nfs4_proc_mknod(struct inode *dir, struct qstr *name, struct iattr *sattr, dev_t rdev, struct nfs_fh *fh, - struct nfs_fattr *fattr) + struct nfs_fattr *fattr, struct rpc_groups *fsg) { struct nfs4_exception exception = { }; int err; --- ./include/linux/nfs_xdr.h.orig 2005-02-07 23:04:03.000000000 +0100 +++ ./include/linux/nfs_xdr.h 2005-02-07 23:04:37.000000000 +0100 @@ -701,7 +701,8 @@ int (*readdir) (struct dentry *, struct rpc_cred *, u64, struct page *, unsigned int, int); int (*mknod) (struct inode *, struct qstr *, struct iattr *, - dev_t, struct nfs_fh *, struct nfs_fattr *); + dev_t, struct nfs_fh *, struct nfs_fattr *, + struct rpc_groups *); int (*statfs) (struct nfs_server *, struct nfs_fh *, struct nfs_fsstat *); int (*fsinfo) (struct nfs_server *, struct nfs_fh *,