nfs: add LAYOUT_TYPE_MAX enum value
authorChristoph Hellwig <hch@lst.de>
Sat, 16 Aug 2014 11:31:51 +0000 (13:31 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 2 Feb 2015 17:09:37 +0000 (18:09 +0100)
This gives us a nice upper bound for later use in nfѕd.

Signed-off-by: Christoph Hellwig <hch@lst.de>
include/linux/nfs4.h

index 022b761dbf0a187478680fe3cc35198e145c11a5..8a3589c2542c90d5951762dcbcb08692002aeaa6 100644 (file)
@@ -516,6 +516,7 @@ enum pnfs_layouttype {
        LAYOUT_NFSV4_1_FILES  = 1,
        LAYOUT_OSD2_OBJECTS = 2,
        LAYOUT_BLOCK_VOLUME = 3,
+       LAYOUT_TYPE_MAX
 };
 
 /* used for both layout return and recall */