History

fsmap: fix documentation of FMR_OF_LAST

The FMR_OF_LAST flag is set on the last fsmap record being returned for the dataset requested, contrary to what the header file says. Fix the docs to reflect the behavior of all fsmap implementations.

Darrick J. Wong committed 9 years ago

Commit d8972461 parent 4cc1ee51 file · +1 −1Browse files

Showing the changes to include/uapi/linux (1 of 1 file). Show all

Unified · Split

include/uapi/linux/fsmap.h+1−1
@@ -96,7 +96,7 @@ fsmap_advance( · 95 unmodified lines
9696 #define FMR_OF_EXTENT_MAP 0x4 /* segment = extent map */
9797 #define FMR_OF_SHARED 0x8 /* segment = shared with another file */
9898 #define FMR_OF_SPECIAL_OWNER 0x10 /* owner is a special value */
99−#define FMR_OF_LAST 0x20 /* segment is the last in the FS */
99+#define FMR_OF_LAST 0x20 /* segment is the last in the dataset */
100100
101101 /* Each FS gets to define its own special owner codes. */
102102 #define FMR_OWNER(type, code) (((__u64)type << 32) | \