From 3af6d22bb3850ab2bac67287e3a3d3b0e32868e5 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 21:41:07 +0200 Subject: Merging upstream version 6.7. Signed-off-by: Daniel Baumann --- man2/ioctl_ficlonerange.2 | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'man2/ioctl_ficlonerange.2') diff --git a/man2/ioctl_ficlonerange.2 b/man2/ioctl_ficlonerange.2 index 68cfc67..b2c5e6b 100644 --- a/man2/ioctl_ficlonerange.2 +++ b/man2/ioctl_ficlonerange.2 @@ -1,7 +1,7 @@ .\" Copyright (c) 2016, Oracle. All rights reserved. .\" .\" SPDX-License-Identifier: GPL-2.0-or-later -.TH ioctl_ficlonerange 2 2023-03-30 "Linux man-pages 6.05.01" +.TH ioctl_ficlonerange 2 2023-10-31 "Linux man-pages 6.7" .SH NAME ioctl_ficlonerange, ioctl_ficlone \- share some the data of one file with another file @@ -12,7 +12,7 @@ Standard C library .nf .BR "#include " " /* Definition of " FICLONE* " constants */" .B #include -.PP +.P .BI "int ioctl(int " dest_fd ", FICLONERANGE, struct file_clone_range *" arg ); .BI "int ioctl(int " dest_fd ", FICLONE, int " src_fd ); .fi @@ -31,7 +31,7 @@ If a file write should occur to a shared region, the filesystem must ensure that the changes remain private to the file being written. This behavior is commonly referred to as "copy on write". -.PP +.P This ioctl reflinks up to .I src_length bytes from file descriptor @@ -48,7 +48,7 @@ If is zero, the ioctl reflinks to the end of the source file. This information is conveyed in a structure of the following form: -.PP +.P .in +4n .EX struct file_clone_range { @@ -59,10 +59,10 @@ struct file_clone_range { }; .EE .in -.PP +.P Clones are atomic with regards to concurrent writes, so no locks need to be taken to obtain a consistent cloned copy. -.PP +.P The .B FICLONE ioctl clones entire files. @@ -114,7 +114,7 @@ are not on the same mounted filesystem. Linux. .SH HISTORY Linux 4.5. -.PP +.P They were previously known as .B BTRFS_IOC_CLONE and -- cgit v1.2.3