On 6/10/20 11:55 AM, Christoph Hellwig wrote:
On Tue, Jun 09, 2020 at 04:23:10PM +0530, Ritesh Harjani wrote:
Simplify reading a seq variable by directly using this_cpu_read API
instead of doing this_cpu_ptr and then dereferencing it.
This also avoid the below kernel BUG: which happens when
CONFIG_DEBUG_PREEMPT is enabled
I see this warning all the time with ext4 using tests VMs, so lets get
this fixed ASAP before -rc1:
Couldn't agree more.
Reviewed-by: Christoph Hellwig <hch@xxxxxx>
Thanks
-ritesh