aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/unlink.c
diff options
context:
space:
mode:
authorAndy Adamson <andros@netapp.com>2009-04-01 09:22:05 -0400
committerBenny Halevy <bhalevy@panasas.com>2009-06-17 13:46:30 -0400
commit5f7dbd5c752d88310d8fe1feedefd5c6496eff48 (patch)
tree870e270d87cf112494500b655f08980539ffa291 /fs/nfs/unlink.c
parentf3752975caa716709c5ea0b0820b86111d921df4 (diff)
nfs41: set up seq_res.sr_slotid
Initialize nfs4_sequence_res sr_slotid to NFS4_MAX_SLOT_TABLE. [was nfs41: sequence res use slotid] Signed-off-by: Andy Adamson <andros@netapp.com> [pulled definition of struct nfs4_sequence_res.sr_slotid to here] Signed-off-by: Benny Halevy <bhalevy@panasas.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/unlink.c')
-rw-r--r--fs/nfs/unlink.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/unlink.c b/fs/nfs/unlink.c
index ecc295347775..83d0ce2600ab 100644
--- a/fs/nfs/unlink.c
+++ b/fs/nfs/unlink.c
@@ -241,6 +241,7 @@ nfs_async_unlink(struct inode *dir, struct dentry *dentry)
241 status = PTR_ERR(data->cred); 241 status = PTR_ERR(data->cred);
242 goto out_free; 242 goto out_free;
243 } 243 }
244 data->res.seq_res.sr_slotid = NFS4_MAX_SLOT_TABLE;
244 245
245 status = -EBUSY; 246 status = -EBUSY;
246 spin_lock(&dentry->d_lock); 247 spin_lock(&dentry->d_lock);