OSDN Git Service

fs/jbd2: Fix the documentation of the jbd2_write_superblock() callers
authorBart Van Assche <bvanassche@acm.org>
Thu, 14 Jul 2022 18:07:22 +0000 (11:07 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 14 Jul 2022 18:14:32 +0000 (12:14 -0600)
commit6669797b0dd41ced457760b6e1014fdda8ce19ce
treefa4c364b8431e020691c4e7c4b02b9bf3985c7a0
parentdbd4eb8148f694ae300fe9682b505acf53053f6e
fs/jbd2: Fix the documentation of the jbd2_write_superblock() callers

Commit 2a222ca992c3 ("fs: have submit_bh users pass in op and flags
separately") renamed the jbd2_write_superblock() 'write_op' argument into
'write_flags'. Propagate this change to the jbd2_write_superblock()
callers. Additionally, change the type of 'write_flags' into blk_opf_t.

Cc: Mike Christie <michael.christie@oracle.com>
Cc: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20220714180729.1065367-57-bvanassche@acm.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/jbd2/journal.c
include/linux/jbd2.h
include/trace/events/jbd2.h