Quantcast
Channel: lkml.org : Shesha Sreenivasamurthy
Viewing all articles
Browse latest Browse all 1267

Re: [PATCH] bdi: Fix another oops in wb_workfn()

$
0
0
Linus Torvalds writes: (Summary) On Wed, Jun 13, 2018 at 7:46 AM Jan Kara <jack@suse.cz> wrote:

[...]

mostly OK.
The versions that don't have that conditional locking look fine to me, yes. Is there a reason for this model:
Is there a reason for this model:
+               if (cgwb_start_shutdown(wb))
+                       __wb_shutdown(wb);

That's what "wb_shutdown()" does - it does the "wb_start_shutdown()"
test internally, and does __wb_shutdown() all inside itself, instead
of expecting the caller to do it.

              Linus

              Linus


Viewing all articles
Browse latest Browse all 1267

Trending Articles