Skip to content

Commit

Permalink
nfs: add LAYOUT_TYPE_MAX enum value
Browse files Browse the repository at this point in the history
This gives us a nice upper bound for later use in nfѕd.

Signed-off-by: Christoph Hellwig <[email protected]>
  • Loading branch information
Christoph Hellwig committed Feb 2, 2015
1 parent a584143 commit 6cae0a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/nfs4.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 6cae0a4

Please sign in to comment.