diff mbox series

man: fix ioctl_xfs_commit_range man page install

Message ID 20241205100401.17308-1-jpalus@fastmail.com (mailing list archive)
State Not Applicable, archived
Headers show
Series man: fix ioctl_xfs_commit_range man page install | expand

Commit Message

Jan Palus Dec. 5, 2024, 10:04 a.m. UTC
INSTALL_MAN uses first symbol in .SH NAME section for both source and
destination filename hence it needs to match current filename. since
ioctl_xfs_commit_range.2 documents both ioctl_xfs_start_commit as well
as ioctl_xfs_commit_range ensure they are listed in order INSTALL_MAN
expects.

Signed-off-by: Jan Palus <jpalus@fastmail.com>
---
 man/man2/ioctl_xfs_commit_range.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Darrick J. Wong Dec. 5, 2024, 3:43 p.m. UTC | #1
On Thu, Dec 05, 2024 at 11:04:01AM +0100, Jan Palus wrote:
> INSTALL_MAN uses first symbol in .SH NAME section for both source and
> destination filename hence it needs to match current filename. since
> ioctl_xfs_commit_range.2 documents both ioctl_xfs_start_commit as well
> as ioctl_xfs_commit_range ensure they are listed in order INSTALL_MAN
> expects.
> 
> Signed-off-by: Jan Palus <jpalus@fastmail.com>

Yowza, I did not realize that was a behavior of INSTALL_MAN!
Thank you for noticing that. :)

Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>

--D

> ---
>  man/man2/ioctl_xfs_commit_range.2 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/man/man2/ioctl_xfs_commit_range.2 b/man/man2/ioctl_xfs_commit_range.2
> index 3244e52c..4cd074ed 100644
> --- a/man/man2/ioctl_xfs_commit_range.2
> +++ b/man/man2/ioctl_xfs_commit_range.2
> @@ -22,8 +22,8 @@
>  .\" %%%LICENSE_END
>  .TH IOCTL-XFS-COMMIT-RANGE 2  2024-02-18 "XFS"
>  .SH NAME
> -ioctl_xfs_start_commit \- prepare to exchange the contents of two files
>  ioctl_xfs_commit_range \- conditionally exchange the contents of parts of two files
> +ioctl_xfs_start_commit \- prepare to exchange the contents of two files
>  .SH SYNOPSIS
>  .br
>  .B #include <sys/ioctl.h>
> -- 
> 2.47.1
> 
>
diff mbox series

Patch

diff --git a/man/man2/ioctl_xfs_commit_range.2 b/man/man2/ioctl_xfs_commit_range.2
index 3244e52c..4cd074ed 100644
--- a/man/man2/ioctl_xfs_commit_range.2
+++ b/man/man2/ioctl_xfs_commit_range.2
@@ -22,8 +22,8 @@ 
 .\" %%%LICENSE_END
 .TH IOCTL-XFS-COMMIT-RANGE 2  2024-02-18 "XFS"
 .SH NAME
-ioctl_xfs_start_commit \- prepare to exchange the contents of two files
 ioctl_xfs_commit_range \- conditionally exchange the contents of parts of two files
+ioctl_xfs_start_commit \- prepare to exchange the contents of two files
 .SH SYNOPSIS
 .br
 .B #include <sys/ioctl.h>