commit | 69267a30bed1fabec658058c63845528a8b813d4 | [log] [tgz] |
---|---|---|
author | Alasdair G Kergon <agk@redhat.com> | Thu Dec 13 14:15:57 2007 +0000 |
committer | Alasdair G Kergon <agk@redhat.com> | Thu Dec 20 17:32:11 2007 +0000 |
tree | d6c527bc0d456089f1eaf0998fe39ef899b8c1fc | |
parent | adfe47702c4726b3e045f9f83178def02833be4c [diff] [blame] |
dm: trigger change uevent on rename Insert a missing KOBJ_CHANGE notification when a device is renamed. Cc: Scott James Remnant <scott@ubuntu.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
diff --git a/drivers/md/dm-ioctl.c b/drivers/md/dm-ioctl.c index be730fd..9627fa0 100644 --- a/drivers/md/dm-ioctl.c +++ b/drivers/md/dm-ioctl.c
@@ -332,6 +332,8 @@ dm_table_put(table); } + dm_kobject_uevent(hc->md); + dm_put(hc->md); up_write(&_hash_lock); kfree(old_name);