Messages in this thread | | | Subject | Re: [PATCH] fs: jfs: fix a possible data race in metapage_writepage() | From | Markus Elfring <> | Date | Mon, 4 May 2020 18:33:40 +0200 |
| |
… > To fix this data race, the spinlock mp->log->gclock is used in > metapage_writepage(). > > This data race is found by our concurrency fuzzer.
How do you think about a wording variant like the following?
Change description: … This data race was found by our concurrency fuzzer.
Thus use the spin lock “mp->log->gclock” for the assignment of the data structure member “log->cflag” to a local variable in this function implementation.
Would you like to add the tag “Fixes” to the commit message?
Regards, Markus
| |