Re: [PATCH 3/9] xfs: create buftarg helpers to abstract block_device operations

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

 



On Sun, Dec 31, 2023 at 12:14:20PM -0800, Darrick J. Wong wrote:
> From: Darrick J. Wong <djwong@xxxxxxxxxx>
> 
> In the next few patches, we're going into introduce buffer targets that
> are not block devices.  Introduce block_device helpers so that the
> compiler can check that we're not feeding an xfile object to something
> expecting a block device.

I don't see how these helpers allow the compiler to check anything.
I also don't see any other good reason for the helpers, but maybe I'm
just missing something.





[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