summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/pnfs.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-03-04 20:46:16 +0100
committerJ. Bruce Fields <bfields@redhat.com>2016-03-18 11:40:57 -0400
commit81c39329010d6131c0909ccb91ffeaffc2e99010 (patch)
tree258dd96de67730499a91cfceb8c5764dcb504c6b /fs/nfsd/pnfs.h
parentd9186c03976506cde2c2b1219028bed449c948ed (diff)
downloadlinux-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.h2
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,