Re: [RFC 1/2] rwsem: introduce upgrade_read interface

From: Christoph Hellwig
Date: Wed Oct 16 2024 - 04:06:31 EST


On Wed, Oct 16, 2024 at 04:00:57PM +0800, lizhe.67@xxxxxxxxxxxxx wrote:
> OK I know what you mean. It is indeed OK to remove "extern", but all function
> declarations in the rwsem.h have the "extern" prefix. I think it would be
> better to keep it consistent.

They are pointless and should never be added.