]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - tools-util.c
Update for new superblock options; makefile improvements
[bcachefs-tools-debian] / tools-util.c
index f89e6e653421a18199f65eeb706b27ee36d2b2b0..7c88c9d42a814e821b11d673857416d1e84848c8 100644 (file)
@@ -401,9 +401,6 @@ unsigned hatoi_validate(const char *s, const char *msg)
        if (bch2_strtoull_h(s, &v))
                die("bad %s %s", msg, s);
 
-       if (v & (v - 1))
-               die("%s must be a power of two", msg);
-
        v /= 512;
 
        if (v > USHRT_MAX)