summaryrefslogtreecommitdiffstats
path: root/include/linux/jbd2.h
diff options
context:
space:
mode:
authorDavidlohr Bueso <dave@stgolabs.net>2015-01-14 22:59:13 -0800
committerJan Kara <jack@suse.cz>2015-01-15 10:34:54 +0100
commitc38fda3fe8163898f538a45d3c1419e6870625ed (patch)
treec618cb64894de0725073421015c9ebf5d5d6c74a /include/linux/jbd2.h
parentbbe48dd811474adc2df96803f910d4dc2b5e5bde (diff)
downloadop-kernel-dev-c38fda3fe8163898f538a45d3c1419e6870625ed.zip
op-kernel-dev-c38fda3fe8163898f538a45d3c1419e6870625ed.tar.gz
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>
Diffstat (limited to 'include/linux/jbd2.h')
-rw-r--r--include/linux/jbd2.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/jbd2.h b/include/linux/jbd2.h
index 704b9a5..20e7f78 100644
--- a/include/linux/jbd2.h
+++ b/include/linux/jbd2.h
@@ -1251,15 +1251,6 @@ void __jbd2_log_wait_for_space(journal_t *journal);
extern void __jbd2_journal_drop_transaction(journal_t *, transaction_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
*
OpenPOWER on IntegriCloud