diff options
author | Greg Thelen <gthelen@google.com> | 2019-03-05 18:50:03 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-03-06 00:07:21 -0500 |
commit | a9519defc771d574888ffe01e84747889152ec35 (patch) | |
tree | a5247df6dc07a7afed5e8bf9dbdab96a14e94c28 /include/linux/fs.h | |
parent | 70516b936bb0afac4fa2fc54a5e61870ece998da (diff) |
writeback: fix inode cgroup switching comment
Commit 682aa8e1a6a1 ("writeback: implement unlocked_inode_to_wb
transaction and use it for stat updates") refers to
inode_switch_wb_work_fn() which never got merged.
Switch the comments to inode_switch_wbs_work_fn().
Link: http://lkml.kernel.org/r/20190305004617.142590-1-gthelen@google.com
Fixes: 682aa8e1a6a1 ("writeback: implement unlocked_inode_to_wb transaction and use it for stat updates")
Signed-off-by: Greg Thelen <gthelen@google.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index fd423fec8d83..08f26046233e 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -2091,7 +2091,7 @@ static inline void init_sync_kiocb(struct kiocb *kiocb, struct file *filp) | |||
2091 | * I_WB_SWITCH Cgroup bdi_writeback switching in progress. Used to | 2091 | * I_WB_SWITCH Cgroup bdi_writeback switching in progress. Used to |
2092 | * synchronize competing switching instances and to tell | 2092 | * synchronize competing switching instances and to tell |
2093 | * wb stat updates to grab the i_pages lock. See | 2093 | * wb stat updates to grab the i_pages lock. See |
2094 | * inode_switch_wb_work_fn() for details. | 2094 | * inode_switch_wbs_work_fn() for details. |
2095 | * | 2095 | * |
2096 | * I_OVL_INUSE Used by overlayfs to get exclusive ownership on upper | 2096 | * I_OVL_INUSE Used by overlayfs to get exclusive ownership on upper |
2097 | * and work dirs among overlayfs mounts. | 2097 | * and work dirs among overlayfs mounts. |