src/diskio.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
New commits: commit cc844a47f15f1f10a90ced3fe957bb2ddf91112b Author: David Teigland teigland@redhat.com Date: Mon Apr 2 11:37:26 2012 -0500
sanlock: remove physical sector size requirement
It's unnecessary to require the physical sector size to match logical sector size.
Signed-off-by: David Teigland teigland@redhat.com
diff --git a/src/diskio.c b/src/diskio.c index ec702f9..1555709 100644 --- a/src/diskio.c +++ b/src/diskio.c @@ -56,9 +56,7 @@ static int set_disk_properties(struct sync_disk *disk)
blkid_free_probe(probe);
- if ((sector_size != ss_logical) || - (sector_size != ss_physical) || - (sector_size % 512)) { + if ((sector_size != ss_logical) || (sector_size % 512)) { log_error("invalid disk sector size %u logical %u " "physical %u %s", sector_size, ss_logical, ss_physical, disk->path);
sanlock-devel@lists.fedorahosted.org