From 22f108f28a1a5449427d37cc9b4fcfbaafc3ede7 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Fri, 2 Mar 2012 08:39:19 +0000 Subject: [PATCH] mkfs: fix compilation without libblkid Treat the physical sector as equivalent to the logical one if compiling without libblkid. Signed-off-by: Christoph Hellwig --- mkfs/xfs_mkfs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mkfs/xfs_mkfs.c b/mkfs/xfs_mkfs.c index d0c2eb6e0..5445b6f0a 100644 --- a/mkfs/xfs_mkfs.c +++ b/mkfs/xfs_mkfs.c @@ -508,7 +508,8 @@ static void get_topology( } } - ft->sectorsize = bsz; + ft->lsectorsize = bsz; + ft->psectorsize = bsz; if (xi->rtname && !xi->risfile) { int dummy1; -- 2.47.2