[pnfs] [PATCH 01/10] SQUASHME: pnfs: Remove unused ctx field from layoutget arguments
Benny Halevy
bhalevy at panasas.com
Fri Oct 9 13:23:26 EDT 2009
From: Fred Isaman <iisaman at citi.umich.edu>
Signed-off-by: Fred Isaman <iisaman at citi.umich.edu>
Signed-off-by: Benny Halevy <bhalevy at panasas.com>
---
fs/nfs/pnfs.c | 1 -
include/linux/pnfs_xdr.h | 1 -
2 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/fs/nfs/pnfs.c b/fs/nfs/pnfs.c
index ad22e04..1ea445b 100644
--- a/fs/nfs/pnfs.c
+++ b/fs/nfs/pnfs.c
@@ -558,7 +558,6 @@ get_layout(struct inode *ino,
lgp->args.lseg.length = max(range->length, lgp->args.minlength);
lgp->args.type = server->pnfs_curr_ld->id;
lgp->args.inode = ino;
- lgp->args.ctx = ctx;
lgp->lsegpp = lsegpp;
if (!memcmp(lo->stateid.data, &zero_stateid, NFS4_STATEID_SIZE))
diff --git a/include/linux/pnfs_xdr.h b/include/linux/pnfs_xdr.h
index 247800c..eb2d789 100644
--- a/include/linux/pnfs_xdr.h
+++ b/include/linux/pnfs_xdr.h
@@ -37,7 +37,6 @@ struct nfs4_pnfs_layoutget_arg {
struct nfs4_pnfs_layout_segment lseg;
__u64 minlength;
__u32 maxcount;
- struct nfs_open_context *ctx;
nfs4_stateid stateid;
struct inode *inode;
struct nfs4_sequence_args seq_args;
--
1.6.4.4
More information about the pNFS
mailing list