mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-23 00:00:02 +03:00
make-bdev: print the correct offset in the default case
This commit is contained in:
parent
ebb76d0c4a
commit
13df67cd20
@ -207,7 +207,7 @@ static void write_sb(char *dev, unsigned block_size, unsigned bucket_size,
|
|||||||
uuid_str, set_uuid_str,
|
uuid_str, set_uuid_str,
|
||||||
(unsigned) sb.version,
|
(unsigned) sb.version,
|
||||||
sb.block_size,
|
sb.block_size,
|
||||||
sb.data_offset);
|
data_offset);
|
||||||
} else {
|
} else {
|
||||||
sb.nbuckets = getblocks(fd) / sb.bucket_size;
|
sb.nbuckets = getblocks(fd) / sb.bucket_size;
|
||||||
sb.nr_in_set = 1;
|
sb.nr_in_set = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user