[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ec4d9155-76bc-2586-7a56-d8f495537b80@kernel.dk>
Date: Fri, 30 Aug 2019 19:54:51 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Tejun Heo <tj@...nel.org>, Jan Kara <jack@...e.cz>
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-team@...com
Subject: Re: [block/for-next] writeback: don't access page->mapping directly
in track_foreign_dirty TP
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
Powered by blists - more mailing lists