9p: send uevent after adding/removing mount_tag attribute
authorMichael Marineau <michael.marineau@coreos.com>
Sun, 11 Aug 2013 04:53:45 +0000 (00:53 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Dec 2013 18:57:19 +0000 (10:57 -0800)
commit7e7ea1bd73f1307df3d375f2df4fa0d6783510de
treed8efcd21b208f5d060d744cfd6f9f70fb7dbc710
parent0e6a2932d63564f8f5eb81c9fbe22ba1ba8d19df
9p: send uevent after adding/removing mount_tag attribute

commit e0d6cb9cd3a3ac8a3b8e5b22b83c4f8619786f22 upstream.

This driver adds an attribute to the existing virtio device so a CHANGE
event is required in order udev rules to make use of it. The ADD event
happens before this driver is probed and unlike a more typical driver
like a block device there isn't a higher level device to watch for.

Signed-off-by: Michael Marineau <michael.marineau@coreos.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/9p/trans_virtio.c