mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 02:50:43 +00:00
jbd: drop jbd_ENOSYS debug
A quick search shows that there are no users, drop the macro for both jbd and jbd2. Signed-off-by: Davidlohr Bueso <dbueso@suse.de> Cc: Jan Kara <jack@suse.cz> Signed-off-by: Jan Kara <jack@suse.cz>
This commit is contained in:
parent
bbe48dd811
commit
c38fda3fe8
2 changed files with 0 additions and 18 deletions
|
@ -956,15 +956,6 @@ void __log_wait_for_space(journal_t *journal);
|
||||||
extern void __journal_drop_transaction(journal_t *, transaction_t *);
|
extern void __journal_drop_transaction(journal_t *, transaction_t *);
|
||||||
extern int cleanup_journal_tail(journal_t *);
|
extern int cleanup_journal_tail(journal_t *);
|
||||||
|
|
||||||
/* Debugging code only: */
|
|
||||||
|
|
||||||
#define jbd_ENOSYS() \
|
|
||||||
do { \
|
|
||||||
printk (KERN_ERR "JBD unimplemented function %s\n", __func__); \
|
|
||||||
current->state = TASK_UNINTERRUPTIBLE; \
|
|
||||||
schedule(); \
|
|
||||||
} while (1)
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* is_journal_abort
|
* is_journal_abort
|
||||||
*
|
*
|
||||||
|
|
|
@ -1251,15 +1251,6 @@ void __jbd2_log_wait_for_space(journal_t *journal);
|
||||||
extern void __jbd2_journal_drop_transaction(journal_t *, transaction_t *);
|
extern void __jbd2_journal_drop_transaction(journal_t *, transaction_t *);
|
||||||
extern int jbd2_cleanup_journal_tail(journal_t *);
|
extern int jbd2_cleanup_journal_tail(journal_t *);
|
||||||
|
|
||||||
/* Debugging code only: */
|
|
||||||
|
|
||||||
#define jbd_ENOSYS() \
|
|
||||||
do { \
|
|
||||||
printk (KERN_ERR "JBD unimplemented function %s\n", __func__); \
|
|
||||||
current->state = TASK_UNINTERRUPTIBLE; \
|
|
||||||
schedule(); \
|
|
||||||
} while (1)
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* is_journal_abort
|
* is_journal_abort
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue