mkfs: Make HDIO_GETGEO ioctl optional
authorEzequiel Garcia <ezequiel@free-electrons.com>
Wed, 12 Dec 2012 02:08:35 +0000 (23:08 -0300)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Wed, 12 Dec 2012 02:17:34 +0000 (11:17 +0900)
commit07b815d39509135e35856cfd30b83930a0af8250
tree723c5887407bd9c8f475fa0d26389685022536f7
parent807776acbf4baf038b23b82928e19d0f591a3be1
mkfs: Make HDIO_GETGEO ioctl optional

Some block devices don't implement HDIO_GETGEP ioctl;
loop device being a notable example.
Without this patch, it's not possible to make a f2fs
on a file mounted over a loop device.

Signed-off-by: Ezequiel Garcia <ezequiel@free-electrons.com>
mkfs/f2fs_format.c