I suppose the return will be EINVAL when there is no swap signature.
But the mistake is doing set_blocksize too early. (Even twice. Why?)
We should first check whether things are OK before starting to make changes.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/