From: Christoph Hellwig Date: Fri, 2 Mar 2012 08:39:19 +0000 (+0000) Subject: mkfs: fix compilation without libblkid X-Git-Tag: v3.1.8~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=22f108f28a1a5449427d37cc9b4fcfbaafc3ede7;p=thirdparty%2Fxfsprogs-dev.git mkfs: fix compilation without libblkid Treat the physical sector as equivalent to the logical one if compiling without libblkid. Signed-off-by: Christoph Hellwig --- 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;