]> www.infradead.org Git - users/sagi/libnvme.git/commit
tree: fix lba_count size calculation
authorDaniel Wagner <dwagner@suse.de>
Thu, 28 Mar 2024 16:20:13 +0000 (17:20 +0100)
committerDaniel Wagner <wagi@monom.org>
Wed, 3 Apr 2024 15:29:53 +0000 (17:29 +0200)
commita347a09f246faf46a4ba87714c9e62f96e920b8b
tree200f751ea08ea12436815fe272ffacc65dfb7c65
parentd638f037623742003c5ef0ba6127b981e925b351
tree: fix lba_count size calculation

The kernel reports the size in 512 byte units, which is might not match
with lba_size.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
src/nvme/private.h
src/nvme/tree.c