From: Dwight Engen Date: Thu, 30 Oct 2014 19:55:35 +0000 (-0400) Subject: sunvdc: don't call VD_OP_GET_VTOC X-Git-Tag: omap-for-v3.19/fixes-not-urgent-part1~26^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85b0c6e62c48bb9179fd5b3e954f362fb346cbd5;p=pandora-kernel.git sunvdc: don't call VD_OP_GET_VTOC The VD_OP_GET_VTOC operation will succeed only if the vdisk backend has a VTOC label, otherwise it will fail. In particular, it will return error 48 (ENOTSUP) if the disk has an EFI label. VTOC disk labels are already handled by directly reading the disk in block/partitions/sun.c (enabled by CONFIG_SUN_PARTITION which defaults to y on SPARC). Since port->label is unused in the driver, remove the call and the field. Signed-off-by: Dwight Engen Signed-off-by: David S. Miller --- Reading git-diff-tree failed