Skip to content

Commit e9b2f15

Browse files
JuliaLawallJonathan Corbet
authored andcommitted
docs: filesystems: vfs: correct sync_mode flag names
Change the nonexistent flag names WBC_SYNC_ALL and WBC_SYNC_NONE to WB_SYNC_ALL and WB_SYNC_NONE, respectively, as used in the code with wbc->sync_mode. Signed-off-by: Julia Lawall <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Corbet <[email protected]>
1 parent 286b7e2 commit e9b2f15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/filesystems/vfs.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -766,9 +766,9 @@ cache in your filesystem. The following members are defined:
766766

767767
``writepages``
768768
called by the VM to write out pages associated with the
769-
address_space object. If wbc->sync_mode is WBC_SYNC_ALL, then
769+
address_space object. If wbc->sync_mode is WB_SYNC_ALL, then
770770
the writeback_control will specify a range of pages that must be
771-
written out. If it is WBC_SYNC_NONE, then a nr_to_write is
771+
written out. If it is WB_SYNC_NONE, then a nr_to_write is
772772
given and that many pages should be written if possible. If no
773773
->writepages is given, then mpage_writepages is used instead.
774774
This will choose pages from the address space that are tagged as

0 commit comments

Comments
 (0)