Re: [RFC PATCH 03/11] rust: block: introduce `kernel::block::mq` module
From: Andreas Hindborg (Samsung)
Date: Tue Jan 23 2024 - 09:04:12 EST
Sergio González Collado <sergio.collado@xxxxxxxxx> writes:
> + /// Call to tell the block layer the capcacity of the device
> + pub fn set_capacity(&self, sectors: u64) {
> + unsafe { bindings::set_capacity(self.gendisk, sectors) };
> + }
>
> Nit in the comment: capcacity -> capacity
Thanks!
BR Andreas