raw-posix: Factor block size detection out of raw_probe_alignment()
commit8a4ed0d1b16d8932362ffecf8f6f79e6340a585f
authorEkaterina Tumanova <tumanova@linux.vnet.ibm.com>
Mon, 16 Feb 2015 11:47:55 +0000 (16 12:47 +0100)
committerKevin Wolf <kwolf@redhat.com>
Tue, 10 Mar 2015 13:02:21 +0000 (10 14:02 +0100)
tree876621115ba670ef557750aa2489c78abcd1e00b
parent892b7de832681cdfff22a6e96cb0280b59684024
raw-posix: Factor block size detection out of raw_probe_alignment()

Put it in new probe_logical_blocksize().

Signed-off-by: Ekaterina Tumanova <tumanova@linux.vnet.ibm.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1424087278-49393-3-git-send-email-tumanova@linux.vnet.ibm.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/raw-posix.c