summaryrefslogtreecommitdiff
path: root/security/inode.c
diff options
context:
space:
mode:
authorAllen Pais <allen.pais@oracle.com>2014-09-19 09:42:14 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-21 09:22:52 -0800
commite4da88a6dab26f68c5f0e493178f9ef2c23f0d08 (patch)
treeb836aff7ceba108c656763462495e1619e7a5da7 /security/inode.c
parente79c2487e4e01ccad077252c398627fd99f55924 (diff)
downloadlwn-e4da88a6dab26f68c5f0e493178f9ef2c23f0d08.tar.gz
lwn-e4da88a6dab26f68c5f0e493178f9ef2c23f0d08.zip
sunvdc: add cdrom and v1.1 protocol support
[ Upstream commit 9bce21828d54a95143f1b74619705c2dd8e88b92 ] Interpret the media type from v1.1 protocol to support CDROM/DVD. For v1.0 protocol, a disk's size continues to be calculated from the geometry returned by the vdisk server. The geometry returned by the server can be less than the actual number of sectors available in the backing image/device due to the rounding in the division used to compute the geometry in the vdisk server. In v1.1 protocol a disk's actual size in sectors is returned during the handshake. Use this size when v1.1 protocol is negotiated. Since this size will always be larger than the former geometry computed size, disks created under v1.0 will be forwards compatible to v1.1, but not vice versa. Signed-off-by: Dwight Engen <dwight.engen@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'security/inode.c')
0 files changed, 0 insertions, 0 deletions