Merge branch 'exit-cleanups-for-v5.16' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-microblaze.git] / fs / ocfs2 / journal.c
index b9c3393..dbf9b9e 100644 (file)
@@ -1513,10 +1513,7 @@ bail:
        if (quota_enabled)
                kfree(rm_quota);
 
-       /* no one is callint kthread_stop() for us so the kthread() api
-        * requires that we call do_exit().  And it isn't exported, but
-        * complete_and_exit() seems to be a minimal wrapper around it. */
-       complete_and_exit(NULL, status);
+       return status;
 }
 
 void ocfs2_recovery_thread(struct ocfs2_super *osb, int node_num)