chiark / gitweb /
Make run_directory.c stat the place it is going to try to run.
[elogind.git] / extras / volume_id / volume_id / ext.c
index 7080f1dd3527808cb2831077746aca8c7bb26a1d..a3e20d3151eba9cc82d6927b5d1e055a421ea5fd 100644 (file)
@@ -86,7 +86,7 @@ int volume_id_probe_ext(struct volume_id *id, uint64_t off)
        if (es->s_magic != cpu_to_le16(EXT_SUPER_MAGIC))
                return -1;
 
-       bsize = 0x200 << le32_to_cpu(es->s_log_block_size);
+       bsize = 0x400 << le32_to_cpu(es->s_log_block_size);
        dbg("ext blocksize 0x%zx", bsize);
        if (bsize < EXT3_MIN_BLOCK_SIZE || bsize > EXT3_MAX_BLOCK_SIZE) {
                dbg("invalid ext blocksize");