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 31229e0be90bd812ce953d257a4b9482f18ff558..d32615280be92baeb3fd4cdfa2d05aa4e1528080 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 704b9a599b268dd9c7d0b9d45b97c5b67245700b..20e7f78041c8138eaae523466f1ab6784ebc8865 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
  *