Skip to content

Commit 6cae0a4

Browse files
author
Christoph Hellwig
committed
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>
1 parent a584143 commit 6cae0a4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/linux/nfs4.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,6 +516,7 @@ enum pnfs_layouttype {
516516
LAYOUT_NFSV4_1_FILES = 1,
517517
LAYOUT_OSD2_OBJECTS = 2,
518518
LAYOUT_BLOCK_VOLUME = 3,
519+
LAYOUT_TYPE_MAX
519520
};
520521

521522
/* used for both layout return and recall */

0 commit comments

Comments
 (0)