Skip to content

Commit 1fb74cd

Browse files
taoma-tmtytso
authored andcommitted
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: Jan Kara <[email protected]> Cc: Randy Dunlap <[email protected]> Signed-off-by: Tao Ma <[email protected]> Signed-off-by: "Theodore Ts'o" <[email protected]>
1 parent a9c667f commit 1fb74cd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

fs/jbd2/transaction.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,6 @@ do_get_write_access(handle_t *handle, struct journal_head *jh,
814814
* int jbd2_journal_get_write_access() - notify intent to modify a buffer for metadata (not data) update.
815815
* @handle: transaction to add buffer modifications to
816816
* @bh: bh to be used for metadata writes
817-
* @credits: variable that will receive credits for the buffer
818817
*
819818
* Returns an error code or 0 on success.
820819
*
@@ -932,7 +931,6 @@ int jbd2_journal_get_create_access(handle_t *handle, struct buffer_head *bh)
932931
* non-rewindable consequences
933932
* @handle: transaction
934933
* @bh: buffer to undo
935-
* @credits: store the number of taken credits here (if not NULL)
936934
*
937935
* Sometimes there is a need to distinguish between metadata which has
938936
* been committed to disk and that which has not. The ext3fs code uses

0 commit comments

Comments
 (0)