block: export 'ro' sysfs attribute for partitions
authorKay Sievers <kay.sievers@vrfy.org>
Thu, 11 Nov 2010 08:58:57 +0000 (09:58 +0100)
committerJens Axboe <jaxboe@fusionio.com>
Thu, 11 Nov 2010 08:58:57 +0000 (09:58 +0100)
commit34db1d595ef6f183fbc1e42cda45a3dfa0035258
tree1fd9131f685dadd249c8bbb10c0c91eb6dc08a35
parent2b9408a45978dcda77407859148deeccf403c372
block: export 'ro' sysfs attribute for partitions

We already export 'ro' for the disk. This adds the same attribute
for partitions.

Cc: Karel Zak <kzak@redhat.com>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
fs/partitions/check.c