]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
xfsprogs: fix ioctl_xfs_geometry manpage naming
authorEric Sandeen <sandeen@redhat.com>
Mon, 12 Oct 2020 19:40:01 +0000 (15:40 -0400)
committerEric Sandeen <sandeen@sandeen.net>
Mon, 12 Oct 2020 19:40:01 +0000 (15:40 -0400)
Somehow "fsop_/FSOP_" snuck into this manpage's name, filename, and
ioctl name.  It's not XFS_IOC_FSOP_GEOMETRY, it's XFS_IOC_FSGEOMETRY
so change all references, including the man page name, filename, and
references from xfsctl(3).

(the structure and flags do have the fsop_ string, which certainly
makes this a bit confusing)

Fixes: b427c816847e ("man: create a separate GEOMETRY ioctl manpage")
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
man/man2/ioctl_xfs_fsgeometry.2 [moved from man/man2/ioctl_xfs_fsop_geometry.2 with 95% similarity]
man/man3/xfsctl.3

similarity index 95%
rename from man/man2/ioctl_xfs_fsop_geometry.2
rename to man/man2/ioctl_xfs_fsgeometry.2
index a35bbaebab20cef86592e2b6c3e6b7014296057d..6b7c83da7583fd2a64c53f6b7eeb684ea6b70591 100644 (file)
@@ -3,18 +3,18 @@
 .\" %%%LICENSE_START(GPLv2+_DOC_FULL)
 .\" SPDX-License-Identifier: GPL-2.0+
 .\" %%%LICENSE_END
-.TH IOCTL-XFS-FSOP-GEOMETRY 2 2019-06-17 "XFS"
+.TH IOCTL-XFS-FSGEOMETRY 2 2019-06-17 "XFS"
 .SH NAME
-ioctl_xfs_fsop_geometry \- report XFS filesystem layout and features 
+ioctl_xfs_fsgeometry \- report XFS filesystem layout and features
 .SH SYNOPSIS
 .br
 .B #include <xfs/xfs_fs.h>
 .PP
-.BI "int ioctl(int " fd ", XFS_IOC_FSOP_GEOMETRY, struct xfs_fsop_geom*" arg );
+.BI "int ioctl(int " fd ", XFS_IOC_FSGEOMETRY, struct xfs_fsop_geom *" arg );
 .br
-.BI "int ioctl(int " fd ", XFS_IOC_FSOP_GEOMETRY_V4, struct xfs_fsop_geom_v4 *" arg );
+.BI "int ioctl(int " fd ", XFS_IOC_FSGEOMETRY_V4, struct xfs_fsop_geom_v4 *" arg );
 .br
-.BI "int ioctl(int " fd ", XFS_IOC_FSOP_GEOMETRY_V1, struct xfs_fsop_geom_v1 *" arg );
+.BI "int ioctl(int " fd ", XFS_IOC_FSGEOMETRY_V1, struct xfs_fsop_geom_v1 *" arg );
 .SH DESCRIPTION
 Report the details of an XFS filesystem layout, features, and other descriptive items.
 This information is conveyed in a structure of the following form:
index dfebd12d9b3e7fdc78c2ad7bb7132b80c5cf782e..43c2f4ebdfac411f4733146a3e270d416501cc8f 100644 (file)
@@ -333,7 +333,7 @@ for more information.
 .TP
 .B XFS_IOC_FSGEOMETRY
 See
-.BR ioctl_xfs_fsop_geometry (2)
+.BR ioctl_xfs_fsgeometry (2)
 for more information.
 
 .TP
@@ -393,7 +393,7 @@ as they are not of general use to applications.
 
 .SH SEE ALSO
 .BR ioctl_xfs_fsgetxattr (2),
-.BR ioctl_xfs_fsop_geometry (2),
+.BR ioctl_xfs_fsgeometry (2),
 .BR ioctl_xfs_fsbulkstat (2),
 .BR ioctl_xfs_scrub_metadata (2),
 .BR ioctl_xfs_fsinumbers (2),