From: Christoph Hellwig Date: Sat, 16 Aug 2014 11:31:51 +0000 (+0200) Subject: nfs: add LAYOUT_TYPE_MAX enum value X-Git-Tag: firefly_0821_release~176^2~2212^2~19 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6cae0a4648c0db2a74efb816cd2ce84390c90480;p=firefly-linux-kernel-4.4.55.git nfs: add LAYOUT_TYPE_MAX enum value This gives us a nice upper bound for later use in nfѕd. Signed-off-by: Christoph Hellwig --- diff --git a/include/linux/nfs4.h b/include/linux/nfs4.h index 022b761dbf0a..8a3589c2542c 100644 --- a/include/linux/nfs4.h +++ b/include/linux/nfs4.h @@ -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 */