diff options
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r-- | fs/nfs/nfs4proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index 2b62e3f79c91..68b21d81b7ac 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c | |||
@@ -840,6 +840,7 @@ static void nfs4_init_opendata_res(struct nfs4_opendata *p) | |||
840 | p->o_res.seqid = p->o_arg.seqid; | 840 | p->o_res.seqid = p->o_arg.seqid; |
841 | p->c_res.seqid = p->c_arg.seqid; | 841 | p->c_res.seqid = p->c_arg.seqid; |
842 | p->o_res.server = p->o_arg.server; | 842 | p->o_res.server = p->o_arg.server; |
843 | p->o_res.access_request = p->o_arg.access; | ||
843 | nfs_fattr_init(&p->f_attr); | 844 | nfs_fattr_init(&p->f_attr); |
844 | nfs_fattr_init_names(&p->f_attr, &p->owner_name, &p->group_name); | 845 | nfs_fattr_init_names(&p->f_attr, &p->owner_name, &p->group_name); |
845 | } | 846 | } |
@@ -875,7 +876,6 @@ static struct nfs4_opendata *nfs4_opendata_alloc(struct dentry *dentry, | |||
875 | * are cached */ | 876 | * are cached */ |
876 | p->o_arg.access = NFS4_ACCESS_READ | NFS4_ACCESS_MODIFY | | 877 | p->o_arg.access = NFS4_ACCESS_READ | NFS4_ACCESS_MODIFY | |
877 | NFS4_ACCESS_EXTEND | NFS4_ACCESS_EXECUTE; | 878 | NFS4_ACCESS_EXTEND | NFS4_ACCESS_EXECUTE; |
878 | p->o_res.access_request = p->o_arg.access; | ||
879 | } | 879 | } |
880 | p->o_arg.clientid = server->nfs_client->cl_clientid; | 880 | p->o_arg.clientid = server->nfs_client->cl_clientid; |
881 | p->o_arg.id.create_time = ktime_to_ns(sp->so_seqid.create_time); | 881 | p->o_arg.id.create_time = ktime_to_ns(sp->so_seqid.create_time); |