]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
ioctl_getfsmap.2: Make clear why exactly is each header needed
authorAlejandro Colomar <alx.manpages@gmail.com>
Sun, 4 Apr 2021 11:58:48 +0000 (13:58 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 5 Apr 2021 11:05:44 +0000 (13:05 +0200)
<linux/fs.h> doesn't seem to be needed!
Only the include that provides the prototype doesn't need a comment.

Also sort the includes alphabetically.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/ioctl_getfsmap.2

index 4ff1c8a9070428b73140c886f857711e2a4d4693..f87fb5c7a2fbdc047cdf0ef3646cf724101edf1a 100644 (file)
 ioctl_getfsmap \- retrieve the physical layout of the filesystem
 .SH SYNOPSIS
 .nf
-.B #include <sys/ioctl.h>
-.B #include <linux/fs.h>
+.RB " /* Definition of " FS_IOC_GETFSMAP ", " FM?_OF_* ", and " *FMR_OWN_* \
+" constants */"
 .B #include <linux/fsmap.h>
+.B #include <sys/ioctl.h>
 .PP
 .BI "int ioctl(int " fd ", FS_IOC_GETFSMAP, struct fsmap_head * " arg );
 .fi