Re: [PATCH 24/34] btrfs: Use CONFIG_PREEMPTION

From: David Sterba
Date: Tue Oct 15 2019 - 16:16:02 EST


On Tue, Oct 15, 2019 at 09:18:11PM +0200, Sebastian Andrzej Siewior wrote:
> From: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
>
> CONFIG_PREEMPTION is selected by CONFIG_PREEMPT and by CONFIG_PREEMPT_RT.
> Both PREEMPT and PREEMPT_RT require the same functionality which today
> depends on CONFIG_PREEMPT.
>
> Switch the btrfs_device_set_â() macro over to use CONFIG_PREEMPTION.
>
> Cc: Chris Mason <clm@xxxxxx>
> Cc: Josef Bacik <josef@xxxxxxxxxxxxxx>
> Cc: David Sterba <dsterba@xxxxxxxx>

Acked-by: David Sterba <dsterba@xxxxxxxx>