Send uevents for write_protect changes
authorHannes Reinecke <hare@suse.de>
Tue, 28 Jul 2009 07:13:13 +0000 (09:13 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 11 Sep 2009 12:33:31 +0000 (14:33 +0200)
commite3264a4d7de147677f1995f119eba05c9abe9c1c
tree151047f3598583556194262a5b07c75ca3b4781d
parentd58b85e1e891cd842d6e183f5d94d06a4fd0122c
Send uevents for write_protect changes

Whenever a block device changes it's read-only attribute
notify the userspace about it.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Nikanth Karthikesan <knikanth@suse.de>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/genhd.c