Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1fb74cda authored by Tao Ma's avatar Tao Ma Committed by Theodore Ts'o
Browse files

jbd2: Remove obsolete parameters in the comments for some jbd2 functions



credits isn't a parameter for jbd2_journal_get_write_access and
jbd2_journal_get_undo_access. So remove the corresponding comments.

Acked-by: default avatarJan Kara <jack@suse.cz>
Cc: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: default avatarTao Ma <boyu.mt@taobao.com>
Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent a9c667f8
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -814,7 +814,6 @@ do_get_write_access(handle_t *handle, struct journal_head *jh,
 * int jbd2_journal_get_write_access() - notify intent to modify a buffer for metadata (not data) update.
 * @handle: transaction to add buffer modifications to
 * @bh:     bh to be used for metadata writes
 * @credits: variable that will receive credits for the buffer
 *
 * Returns an error code or 0 on success.
 *
@@ -932,7 +931,6 @@ int jbd2_journal_get_create_access(handle_t *handle, struct buffer_head *bh)
 *     non-rewindable consequences
 * @handle: transaction
 * @bh: buffer to undo
 * @credits: store the number of taken credits here (if not NULL)
 *
 * Sometimes there is a need to distinguish between metadata which has
 * been committed to disk and that which has not.  The ext3fs code uses