block: clarify parameter name

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
Michael Shaw 2026-07-12 15:58:04 -04:00
commit 334bff74bc
3 changed files with 10 additions and 10 deletions

View file

@ -18,7 +18,7 @@ struct block_device {
struct block_ops ops;
};
ssize_t block_read(struct block_device *dev, char *buf, size_t offset, size_t n);
ssize_t block_write(struct block_device *dev, char *buf, size_t offset, size_t n);
ssize_t block_read(struct block_device *dev, char *buf, size_t offset, size_t n_blocks);
ssize_t block_write(struct block_device *dev, char *buf, size_t offset, size_t n_blocks);
#endif /* _BLOCK_H_ */