@@ -237,7 +237,7 @@ int __ext4_forget(const char *where, unsigned int line, handle_t *handle,
* data!=journal && (is_metadata || should_journal_data(inode))
*/
BUFFER_TRACE(bh, "call jbd2_journal_revoke");
- err = jbd2_journal_revoke(handle, blocknr, bh);
+ err = jbd2_journal_revoke(handle, blocknr, inode->i_sb, bh);
if (err) {
ext4_journal_abort_handle(where, line, __func__,
bh, handle, err);
@@ -320,7 +320,7 @@ void jbd2_journal_destroy_revoke(journal_t *journal)
*/
int jbd2_journal_revoke(handle_t *handle, unsigned long long blocknr,
- struct buffer_head *bh_in)
+ struct super_block *sb, struct buffer_head *bh_in)
{
struct buffer_head *bh = NULL;
journal_t *journal;
@@ -1450,7 +1450,8 @@ extern void jbd2_journal_destroy_revoke_caches(void);
extern int jbd2_journal_init_revoke_caches(void);
extern void jbd2_journal_destroy_revoke(journal_t *);
-extern int jbd2_journal_revoke (handle_t *, unsigned long long, struct buffer_head *);
+extern int jbd2_journal_revoke (handle_t *, unsigned long long,
+ struct super_block *, struct buffer_head *);
extern int jbd2_journal_cancel_revoke(handle_t *, struct journal_head *);
extern void jbd2_journal_write_revoke_records(transaction_t *transaction,
struct list_head *log_bufs);