remove superflous module use count handling in jbd
PATCH 1/1 remove superflous module use count handling in jbd
journal_init_common is always called from ext3 which already makes jbd.ko unloadable by relying on exported functions.
fs/jbd/journal.c +0 -4
@@ -694,8 +694,6 @@journal_t *journal;int err; -MOD_INC_USE_COUNT ; - journal =jbd_kmalloc (sizeof (*journal),GFP_KERNEL );if (!journal) goto fail;
@@ -724,7 +722,6 @@ }return journal; fail: -MOD_DEC_USE_COUNT ;return NULL ; }
@@ -1131,7 +1128,6 @@unlock_journal (journal);kfree (journal); -MOD_DEC_USE_COUNT ; }