Skip to content

Commit dfcd448

Browse files
jankaratytso
authored andcommitted
ext4: drop ext4_journal_free_reserved()
Remove ext4_journal_free_reserved() function. It is never used. Signed-off-by: Jan Kara <[email protected]> Reviewed-by: Andreas Dilger <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
1 parent 9937783 commit dfcd448

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

fs/ext4/ext4_jbd2.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -338,12 +338,6 @@ static inline handle_t *__ext4_journal_start(struct inode *inode,
338338
handle_t *__ext4_journal_start_reserved(handle_t *handle, unsigned int line,
339339
int type);
340340

341-
static inline void ext4_journal_free_reserved(handle_t *handle)
342-
{
343-
if (ext4_handle_valid(handle))
344-
jbd2_journal_free_reserved(handle);
345-
}
346-
347341
static inline handle_t *ext4_journal_current_handle(void)
348342
{
349343
return journal_current_handle();

0 commit comments

Comments
 (0)