Commit 6cae0a46 authored by Christoph Hellwig's avatar Christoph Hellwig

nfs: add LAYOUT_TYPE_MAX enum value

This gives us a nice upper bound for later use in nfѕd.
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent a584143b
...@@ -516,6 +516,7 @@ enum pnfs_layouttype { ...@@ -516,6 +516,7 @@ enum pnfs_layouttype {
LAYOUT_NFSV4_1_FILES = 1, LAYOUT_NFSV4_1_FILES = 1,
LAYOUT_OSD2_OBJECTS = 2, LAYOUT_OSD2_OBJECTS = 2,
LAYOUT_BLOCK_VOLUME = 3, LAYOUT_BLOCK_VOLUME = 3,
LAYOUT_TYPE_MAX
}; };
/* used for both layout return and recall */ /* used for both layout return and recall */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment