reiserfs: Make cancel_old_flush() reliable
[sfrench/cifs-2.6.git] / fs / reiserfs / journal.c
index aa40c242f1db3d9901c02eee0fd3e13a351a3c1b..da01f497180a165d163935c4744ef82521bf9151 100644 (file)
@@ -1961,7 +1961,7 @@ static int do_journal_release(struct reiserfs_transaction_handle *th,
         * will be requeued because superblock is being shutdown and doesn't
         * have MS_ACTIVE set.
         */
-       cancel_delayed_work_sync(&REISERFS_SB(sb)->old_work);
+       reiserfs_cancel_old_flush(sb);
        /* wait for all commits to finish */
        cancel_delayed_work_sync(&SB_JOURNAL(sb)->j_work);