diff options
author | Julia Lawall <Julia.Lawall@inria.fr> | 2020-07-26 21:22:21 +0200 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2020-07-27 16:15:35 -0600 |
commit | e9b2f15b85d78f05b30eb789263403b738231f78 (patch) | |
tree | ddc8483cba6deb0545b196127757e72a4cd5a76c /Documentation/filesystems | |
parent | 286b7e24ae319163a4f84f3ea30f8e2d99625386 (diff) | |
download | linux-e9b2f15b85d78f05b30eb789263403b738231f78.tar.gz linux-e9b2f15b85d78f05b30eb789263403b738231f78.tar.bz2 linux-e9b2f15b85d78f05b30eb789263403b738231f78.zip |
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 <Julia.Lawall@inria.fr>
Link: https://lore.kernel.org/r/1595791341-13209-1-git-send-email-Julia.Lawall@inria.fr
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/filesystems')
-rw-r--r-- | Documentation/filesystems/vfs.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/filesystems/vfs.rst b/Documentation/filesystems/vfs.rst index da4b7357a9e0..57e9b516dae1 100644 --- a/Documentation/filesystems/vfs.rst +++ b/Documentation/filesystems/vfs.rst @@ -766,9 +766,9 @@ cache in your filesystem. The following members are defined: ``writepages`` called by the VM to write out pages associated with the - address_space object. If wbc->sync_mode is WBC_SYNC_ALL, then + address_space object. If wbc->sync_mode is WB_SYNC_ALL, then the writeback_control will specify a range of pages that must be - written out. If it is WBC_SYNC_NONE, then a nr_to_write is + written out. If it is WB_SYNC_NONE, then a nr_to_write is given and that many pages should be written if possible. If no ->writepages is given, then mpage_writepages is used instead. This will choose pages from the address space that are tagged as |