[PATCH] dm: add exports
[cascardo/linux.git] / drivers / md / dm-stripe.c
index 204f796..08328a8 100644 (file)
@@ -103,7 +103,7 @@ static int stripe_ctr(struct dm_target *ti, unsigned int argc, char **argv)
                return -EINVAL;
        }
 
-       if (((uint32_t)ti->len) & (chunk_size - 1)) {
+       if (ti->len & (chunk_size - 1)) {
                ti->error = "dm-stripe: Target length not divisible by "
                    "chunk size";
                return -EINVAL;