jbd: drop jbd_ENOSYS debug
authorDavidlohr Bueso <dave@stgolabs.net>
Thu, 15 Jan 2015 06:59:13 +0000 (22:59 -0800)
committerJan Kara <jack@suse.cz>
Thu, 15 Jan 2015 09:34:54 +0000 (10:34 +0100)
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>
include/linux/jbd.h
include/linux/jbd2.h

index 31229e0..d326152 100644 (file)
@@ -956,15 +956,6 @@ void __log_wait_for_space(journal_t *journal);
 extern void    __journal_drop_transaction(journal_t *, transaction_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
  *
index 704b9a5..20e7f78 100644 (file)
@@ -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
  *