ext4: drop ext4_journal_free_reserved()
authorJan Kara <jack@suse.cz>
Wed, 20 May 2020 13:31:18 +0000 (15:31 +0200)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 4 Jun 2020 03:16:53 +0000 (23:16 -0400)
Remove ext4_journal_free_reserved() function. It is never used.

Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Andreas Dilger <adilger@dilger.ca>
Link: https://lore.kernel.org/r/20200520133119.1383-2-jack@suse.cz
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/ext4_jbd2.h

index 3bacf76d26093618d27ff9b6de382f3c35524fe4..00dc668e052b38c700dac3bcab56b442b961c8c6 100644 (file)
@@ -338,12 +338,6 @@ static inline handle_t *__ext4_journal_start(struct inode *inode,
 handle_t *__ext4_journal_start_reserved(handle_t *handle, unsigned int line,
                                        int type);
 
-static inline void ext4_journal_free_reserved(handle_t *handle)
-{
-       if (ext4_handle_valid(handle))
-               jbd2_journal_free_reserved(handle);
-}
-
 static inline handle_t *ext4_journal_current_handle(void)
 {
        return journal_current_handle();