summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2014-08-16 13:31:51 +0200
committerChristoph Hellwig <hch@lst.de>2015-02-02 18:09:37 +0100
commit6cae0a4648c0db2a74efb816cd2ce84390c90480 (patch)
treea4303efb3f6397537a21d6d1964b7a12e51a4654
parenta584143b01ce69803116ae8d0a4db382acc728d7 (diff)
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 <hch@lst.de>
-rw-r--r--include/linux/nfs4.h1
1 files changed, 1 insertions, 0 deletions
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 */