[pnfs] [PATCH] don't zero the layout pointer
Marc Eshel
eshel at almaden.ibm.com
Thu Sep 6 13:14:25 EDT 2007
From: Marc Eshel <eshel at almaden.ibm.com>
---
fs/nfs/nfs4proc.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index af2f6da..5176cde 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -1263,7 +1263,6 @@ static int _nfs4_do_open(struct inode *d
nfs_inode_set_delegation(state->inode, cred, &opendata->o_res);
/* Initialize extents */
- NFS_I(state->inode)->current_layout = NULL;
NFS_I(state->inode)->pnfs_write_begin_pos = 0;
NFS_I(state->inode)->pnfs_write_end_pos = 0;
More information about the pNFS
mailing list