From: Paolo Bonzini Date: Thu, 28 Feb 2013 01:05:26 +0000 (-0800) Subject: nbd: show read-only state in sysfs X-Git-Tag: v3.9-rc1~46^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a83e814b5bb948850e903585d18b6298b7093cb2;p=pandora-kernel.git nbd: show read-only state in sysfs Pass the read-only flag to set_device_ro, so that it will be visible to the block layer and in sysfs. Signed-off-by: Paolo Bonzini Cc: Paul Clements Cc: Alex Bligh Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed