Re: [PATCH] xfs_io: Avoid using __kernel_rwf_t for older kernels

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 25, 2024 at 02:26:18PM -0800, Florian Fainelli wrote:
> __kernel_rwf_t was defined with upstream Linux commit
> ddef7ed2b5cbafae692d1d580bb5a07808926a9c ("annotate RWF_... flags")
> which has been included in Linux v4.14 and newer. When building xfsprogs
> against older kernel headers, this type is not defined, leading to the
> following build error:

As notjign else in xfsprogs uses it this looks fine:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>

Although I wonder about the state of sparse checking in xfsprogs,
which to be fair I haven't run for a while.  I guss it's time to
restart them and sort out the mess..





[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux