aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/nfs/nfs4proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index 7a750f061c26..92ce43517814 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -680,6 +680,7 @@ static void nfs4_init_opendata_res(struct nfs4_opendata *p)
680 p->o_res.server = p->o_arg.server; 680 p->o_res.server = p->o_arg.server;
681 nfs_fattr_init(&p->f_attr); 681 nfs_fattr_init(&p->f_attr);
682 nfs_fattr_init(&p->dir_attr); 682 nfs_fattr_init(&p->dir_attr);
683 p->o_res.seq_res.sr_slotid = NFS4_MAX_SLOT_TABLE;
683} 684}
684 685
685static struct nfs4_opendata *nfs4_opendata_alloc(struct path *path, 686static struct nfs4_opendata *nfs4_opendata_alloc(struct path *path,
@@ -711,7 +712,6 @@ static struct nfs4_opendata *nfs4_opendata_alloc(struct path *path,
711 p->o_arg.server = server; 712 p->o_arg.server = server;
712 p->o_arg.bitmask = server->attr_bitmask; 713 p->o_arg.bitmask = server->attr_bitmask;
713 p->o_arg.claim = NFS4_OPEN_CLAIM_NULL; 714 p->o_arg.claim = NFS4_OPEN_CLAIM_NULL;
714 p->o_res.seq_res.sr_slotid = NFS4_MAX_SLOT_TABLE;
715 if (flags & O_EXCL) { 715 if (flags & O_EXCL) {
716 u32 *s = (u32 *) p->o_arg.u.verifier.data; 716 u32 *s = (u32 *) p->o_arg.u.verifier.data;
717 s[0] = jiffies; 717 s[0] = jiffies;