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: 63a599c657 ("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>
This commit is contained in:
Dan Robertson 2021-07-28 22:19:42 +02:00 committed by Michael Kerrisk
parent 20c2c5ced3
commit 6131983d24
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ Preallocating zeroed blocks beyond the end of the file in this manner
is useful for optimizing append workloads. is useful for optimizing append workloads.
.PP .PP
If the If the
.B FALLOC_FL_UNSHARE .B FALLOC_FL_UNSHARE_RANGE
flag is specified in flag is specified in
.IR mode , .IR mode ,
shared file data extents will be made private to the file to guarantee shared file data extents will be made private to the file to guarantee