From 6c8b7651d06f635fe3d8789eda493eda3b4d13ef Mon Sep 17 00:00:00 2001 From: "Matthew Wilcox (Oracle)" Date: Fri, 28 Aug 2026 21:54:24 +0100 Subject: [PATCH] buffer: Document mmb_mark_buffer_dirty() Add kernel-doc for mmb_mark_buffer_dirty(). Signed-off-by: Matthew Wilcox (Oracle) Link: https://patch.msgid.link/20260828205429.3678204-5-willy@infradead.org Reviewed-by: Jan Kara Signed-off-by: Christian Brauner (Amutable) --- fs/buffer.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/fs/buffer.c b/fs/buffer.c index 8dfef0330c4d..625e36cafd30 100644 --- a/fs/buffer.c +++ b/fs/buffer.c @@ -616,6 +616,14 @@ void write_boundary_block(struct block_device *bdev, } } +/** + * mmb_mark_buffer_dirty - Mark a metadata buffer dirty. + * @bh: The buffer to mark dirty. + * @mmb: The list of buffers to add the buffer to. + * + * Mark the buffer dirty and add it to the list if it is not already on + * a list. + */ void mmb_mark_buffer_dirty(struct buffer_head *bh, struct mapping_metadata_bhs *mmb) {