From: Karel Zak Date: Mon, 9 Jun 2014 10:09:18 +0000 (+0200) Subject: libfdisk: fix fdisk_context_assign_device() comment X-Git-Tag: v2.25-rc1~38 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2c94e10b50de89fbcf366e73ab8cf1f86ee3eb83;p=thirdparty%2Futil-linux.git libfdisk: fix fdisk_context_assign_device() comment Signed-off-by: Karel Zak --- diff --git a/libfdisk/src/context.c b/libfdisk/src/context.c index ec0b6d84ff..5fc4c6526b 100644 --- a/libfdisk/src/context.c +++ b/libfdisk/src/context.c @@ -244,10 +244,6 @@ static int warn_wipe(struct fdisk_context *cxt) * @fname: path to the device to be handled * @readonly: how to open the device * - * If the @readonly flag is set to false, fdisk will attempt to open - * the device with read-write mode and will fallback to read-only if - * unsuccessful. - * * Returns: 0 on success, < 0 on error. */ int fdisk_context_assign_device(struct fdisk_context *cxt,