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.