[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251114055249.1517520-1-hch@lst.de>
Date: Fri, 14 Nov 2025 06:52:22 +0100
From: Christoph Hellwig <hch@....de>
To: Carlos Maiolino <cem@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>
Cc: "Luc Van Oostenryck" <luc.vanoostenryck@...il.com>,
Chris Li <sparse@...isli.org>,
linux-sparse@...r.kernel.org,
linux-xfs@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: make xfs sparse-warning free
Hi all,
this series isn't really a series, but a collection of two very different
patches toward the result of having no sparse warnings for fs/xfs/.
Patch 1 adds a cond_lock annotation to the lockref code. This also fixes
warnings (but resurfaces new ones) in erofs and gfs2.
Patch 2 moves some XFS code around to help the lock context tracking.
I actually think this improves the code, so I think this should go into
the XFS tree.
Patch 3 duplicates some XFS code to work around the lock context tracking,
but I think it is pretty silly. Maybe it's a good example to help improve
this code in sparse? It would not be horrible to apply given how little
code it duplicates, but a fix in sparse would be much nicer.
The kernel MAINTAINERS still list Luc as sparse maintainer, but sparse
itself lists Chris again. Do we need to update the kernel MAINTAINERS
file, or are those separate roles?
Powered by blists - more mailing lists