aboutsummaryrefslogtreecommitdiffstats
path: root/man2
diff options
context:
space:
mode:
authorDan Robertson <dan@dlrobertson.com>2021-07-28 22:19:42 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2021-08-08 02:53:50 +0200
commit6131983d2480ae721d3a9de7240c667d8b50a63f (patch)
tree700b3fce022cf973f2ed8c1a10ab54553f4c667b /man2
parent20c2c5ced3d0c13b8d6295dc930304b60123565c (diff)
downloadman-pages-6131983d2480ae721d3a9de7240c667d8b50a63f.tar.gz
man2/fallocate.2: tfix documentation of shared blocks
Fix a typo in the documentation of using fallocate to allocate shared blocks. The flag FALLOC_FL_UNSHARE should instead be documented as FALLOC_FL_UNSHARE_RANGE. Fixes: 63a599c657d8 ("man2/fallocate.2: Document behavior with shared blocks") Signed-off-by: Dan Robertson <dan@dlrobertson.com> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2')
-rw-r--r--man2/fallocate.22
1 files changed, 1 insertions, 1 deletions
diff --git a/man2/fallocate.2 b/man2/fallocate.2
index a627061935..b4cb3516f5 100644
--- a/man2/fallocate.2
+++ b/man2/fallocate.2
@@ -81,7 +81,7 @@ Preallocating zeroed blocks beyond the end of the file in this manner
is useful for optimizing append workloads.
.PP
If the
-.B FALLOC_FL_UNSHARE
+.B FALLOC_FL_UNSHARE_RANGE
flag is specified in
.IR mode ,
shared file data extents will be made private to the file to guarantee