NFSv4: remove CONFIG_NFS_V4 from nfs_read_data
authorAndy Adamson <andros@netapp.com>
Tue, 1 Mar 2011 01:34:06 +0000 (01:34 +0000)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 11 Mar 2011 20:38:41 +0000 (15:38 -0500)
Cleanup nfs_read_data. We also won't use CONFIG_NFS_V4_1 for additional
NFSv4.1 fields in subsequent patches.

Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
include/linux/nfs_xdr.h

index b0068579bec252b2a357a97ddb841a1c1b9086d4..51bfadbe24e2a5f2dee27e10306e4a46df2f0297 100644 (file)
@@ -1016,9 +1016,7 @@ struct nfs_read_data {
        unsigned int            npages; /* Max length of pagevec */
        struct nfs_readargs args;
        struct nfs_readres  res;
-#ifdef CONFIG_NFS_V4
        unsigned long           timestamp;      /* For lease renewal */
-#endif
        struct page             *page_array[NFS_PAGEVEC_SIZE];
 };