Messages in this thread | | | Subject | Re: [block/for-next] writeback: don't access page->mapping directly in track_foreign_dirty TP | From | Jens Axboe <> | Date | Fri, 30 Aug 2019 19:54:51 -0600 |
| |
On 8/30/19 5:39 PM, Tejun Heo wrote: > page->mapping may encode different values in it and page_mapping() > should always be used to access the mapping pointer. > track_foreign_dirty tracepoint was incorrectly accessing page->mapping > directly. Use page_mapping() instead. Also, add NULL checks while at > it.
Applied, thanks.
-- Jens Axboe
| |