genhd: send async notification on media change
authorKristen Carlson Accardi <kristen.c.accardi@intel.com>
Wed, 23 May 2007 20:57:38 +0000 (13:57 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 24 May 2007 03:14:12 +0000 (20:14 -0700)
commit8ce7ad7b2d11fae2c3d285a6a0caea9322c0b8fc
tree87d7423635821dae9f26d14c62f3314ec7bb3b17
parent86ce18d7b7925bfd6b64c061828ca2a857ee83b8
genhd: send async notification on media change

Send an uevent to user space to indicate that a media change event has
occurred.

Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
block/genhd.c
include/linux/genhd.h