fs: Wrong function name in comment
authorAndreas Gruenbacher <agruenba@redhat.com>
Mon, 8 Jan 2024 17:20:40 +0000 (18:20 +0100)
committerChristian Brauner <brauner@kernel.org>
Mon, 22 Jan 2024 14:33:36 +0000 (15:33 +0100)
This comment refers to function mark_buffer_inode_dirty(), but the
function is actually called mark_buffer_dirty_inode(), so fix the
comment.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Link: https://lore.kernel.org/r/20240108172040.178173-1-agruenba@redhat.com
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/buffer.c

index d3bcf601d3e5a5330419d8e69500c3781f9e8cfc..dcafee512089a290d00993a023350b09bcfebb2f 100644 (file)
@@ -464,7 +464,7 @@ EXPORT_SYMBOL(mark_buffer_async_write);
  * a successful fsync().  For example, ext2 indirect blocks need to be
  * written back and waited upon before fsync() returns.
  *
- * The functions mark_buffer_inode_dirty(), fsync_inode_buffers(),
+ * The functions mark_buffer_dirty_inode(), fsync_inode_buffers(),
  * inode_has_buffers() and invalidate_inode_buffers() are provided for the
  * management of a list of dependent buffers at ->i_mapping->i_private_list.
  *