"Alice Ryhl" <aliceryhl@xxxxxxxxxx> writes: > On Fri, Aug 15, 2025 at 09:30:49AM +0200, Andreas Hindborg wrote: >> Allow rust null block devices to be configured and instantiated via >> `configfs`. >> >> Signed-off-by: Andreas Hindborg <a.hindborg@xxxxxxxxxx> > > Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx> > >> +impl NullBlkDevice { >> + fn new( >> + name: &CStr, >> + block_size: u32, >> + rotational: bool, >> + capacity_mib: u64, >> + ) -> Result<GenDisk<Self>> { >> + let tagset = Arc::pin_init(TagSet::new(1, 256, 1), flags::GFP_KERNEL)?; > > GFP_KERNEL is in the prelude. OK, thanks. Best regards, Andreas Hindborg