summaryrefslogtreecommitdiff
path: root/include/uapi/linux/fsmap.h
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2017-08-31 13:47:35 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2017-09-01 13:08:26 -0700
commitd897246df9fc0a5df97a784bf7b072be4a6ae479 (patch)
tree1a12441cc2e2804142ff0a227e824572653290b6 /include/uapi/linux/fsmap.h
parent4cc1ee5e654114aa7fac6993488ad2cd0b3411bb (diff)
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. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'include/uapi/linux/fsmap.h')
-rw-r--r--include/uapi/linux/fsmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/fsmap.h b/include/uapi/linux/fsmap.h
index 7e8e5f0bd6d2..e5213c3e38b2 100644
--- a/include/uapi/linux/fsmap.h
+++ b/include/uapi/linux/fsmap.h
@@ -96,7 +96,7 @@ fsmap_advance(
#define FMR_OF_EXTENT_MAP 0x4 /* segment = extent map */
#define FMR_OF_SHARED 0x8 /* segment = shared with another file */
#define FMR_OF_SPECIAL_OWNER 0x10 /* owner is a special value */
-#define FMR_OF_LAST 0x20 /* segment is the last in the FS */
+#define FMR_OF_LAST 0x20 /* segment is the last in the dataset */
/* Each FS gets to define its own special owner codes. */
#define FMR_OWNER(type, code) (((__u64)type << 32) | \