]> git.baikalelectronics.ru Git - kernel.git/commit
nfs_xdr: Move nfs4_string definition out of #ifdef CONFIG_NFS_V4
authorBoaz Harrosh <bharrosh@panasas.com>
Sun, 29 May 2011 07:57:47 +0000 (10:57 +0300)
committerBoaz Harrosh <bharrosh@panasas.com>
Thu, 4 Aug 2011 19:35:08 +0000 (12:35 -0700)
commit1c45b165827453a13856b067d825c1da1bd1126b
tree833ca3eb906cc3ab872b7925efa8ffb6a02a22bb
parent5aa7b45a0095a10f875815afb9ac92652fbe151e
nfs_xdr: Move nfs4_string definition out of #ifdef CONFIG_NFS_V4

exofs file system wants to use pnfs_osd_xdr.h file instead of
redefining pnfs-objects types in it's private "pnfs.h" headr.

Before we do the switch we must make sure pnfs_osd_xdr.h is
compilable also under NFS versions smaller than 4.1. Since now
it is needed regardless of version, by the exofs code.

nfs4_string is not the only nfs4 type out in the global scope.

Ack-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
include/linux/nfs_xdr.h