Re: [PATCH] bcachefs: Rename struct field swap to prevent macro naming collision

From: Kent Overstreet
Date: Sat Apr 06 2024 - 14:48:28 EST


On Sat, Apr 06, 2024 at 04:19:20PM +0200, Thorsten Blum wrote:
> The struct field swap can collide with the swap() macro defined in
> linux/minmax.h. Rename the struct field to prevent such collisions.

Same as in lib/sort.c, so what's the actual reason?