Skip to content

Commit cb56eca

Browse files
JuliaLawallJonathan Corbet
authored andcommitted
docs: filesystems: vfs: correct flag name
There is no flag REMAP_CAN_SHORTEN. Commit eca3654 ("vfs: enable remap callers that can handle short operations") that introduces this text also introduces the flag REMAP_FILE_CAN_SHORTEN. Change the name in the documentation accordingly. Signed-off-by: Julia Lawall <[email protected]> Fixes: eca3654 ("vfs: enable remap callers that can handle short operations") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Corbet <[email protected]>
1 parent e9b2f15 commit cb56eca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/filesystems/vfs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1116,7 +1116,7 @@ otherwise noted.
11161116
before any bytes were remapped. The remap_flags parameter
11171117
accepts REMAP_FILE_* flags. If REMAP_FILE_DEDUP is set then the
11181118
implementation must only remap if the requested file ranges have
1119-
identical contents. If REMAP_CAN_SHORTEN is set, the caller is
1119+
identical contents. If REMAP_FILE_CAN_SHORTEN is set, the caller is
11201120
ok with the implementation shortening the request length to
11211121
satisfy alignment or EOF requirements (or any other reason).
11221122

0 commit comments

Comments
 (0)