diff options
author | Alasdair G Kergon <agk@redhat.com> | 2007-12-13 15:15:57 +0100 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2007-12-20 18:32:11 +0100 |
commit | 69267a30bed1fabec658058c63845528a8b813d4 (patch) | |
tree | d6c527bc0d456089f1eaf0998fe39ef899b8c1fc /drivers/md/dm.h | |
parent | dm crypt: fix write endio (diff) | |
download | linux-69267a30bed1fabec658058c63845528a8b813d4.tar.xz linux-69267a30bed1fabec658058c63845528a8b813d4.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | drivers/md/dm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/md/dm.h b/drivers/md/dm.h index 177297a88ebd..b4584a39383b 100644 --- a/drivers/md/dm.h +++ b/drivers/md/dm.h @@ -187,4 +187,6 @@ union map_info *dm_get_mapinfo(struct bio *bio); int dm_open_count(struct mapped_device *md); int dm_lock_for_deletion(struct mapped_device *md); +void dm_kobject_uevent(struct mapped_device *md); + #endif |