diff options
author | Christoph Hellwig <hch@lst.de> | 2016-03-04 20:46:16 +0100 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2016-03-18 11:40:57 -0400 |
commit | 81c39329010d6131c0909ccb91ffeaffc2e99010 (patch) | |
tree | 258dd96de67730499a91cfceb8c5764dcb504c6b /fs/nfsd/pnfs.h | |
parent | d9186c03976506cde2c2b1219028bed449c948ed (diff) | |
download | linux-stable-81c39329010d6131c0909ccb91ffeaffc2e99010.tar.gz linux-stable-81c39329010d6131c0909ccb91ffeaffc2e99010.tar.bz2 linux-stable-81c39329010d6131c0909ccb91ffeaffc2e99010.zip |
nfsd: add a new config option for the block layout driver
Split the config symbols into a generic pNFS one, which is invisible
and gets selected by the layout drivers, and one for the block layout
driver.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/pnfs.h')
-rw-r--r-- | fs/nfsd/pnfs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfsd/pnfs.h b/fs/nfsd/pnfs.h index d4c4453674c6..ff50bfa1f76f 100644 --- a/fs/nfsd/pnfs.h +++ b/fs/nfsd/pnfs.h @@ -35,7 +35,9 @@ struct nfsd4_layout_ops { }; extern const struct nfsd4_layout_ops *nfsd4_layout_ops[]; +#ifdef CONFIG_NFSD_BLOCKLAYOUT extern const struct nfsd4_layout_ops bl_layout_ops; +#endif __be32 nfsd4_preprocess_layout_stateid(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, stateid_t *stateid, |