diff options
author | Jan Kara <jack@suse.cz> | 2020-05-20 15:31:18 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2020-06-04 05:16:53 +0200 |
commit | dfcd4489e270282d984cd06c00f3a45d52a3f0a7 (patch) | |
tree | f81f176322e93a18461fcd45a2ecb02e0d69df15 /fs/ext4/ext4_jbd2.h | |
parent | ext4: mballoc: use lock for checking free blocks while retrying (diff) | |
download | linux-dfcd4489e270282d984cd06c00f3a45d52a3f0a7.tar.xz linux-dfcd4489e270282d984cd06c00f3a45d52a3f0a7.zip |
ext4: drop ext4_journal_free_reserved()
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>
Diffstat (limited to 'fs/ext4/ext4_jbd2.h')
-rw-r--r-- | fs/ext4/ext4_jbd2.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/ext4/ext4_jbd2.h b/fs/ext4/ext4_jbd2.h index 3bacf76d2609..00dc668e052b 100644 --- a/fs/ext4/ext4_jbd2.h +++ b/fs/ext4/ext4_jbd2.h @@ -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(); |