diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-04-06 12:21:45 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-04-27 10:57:31 -0700 |
commit | 3106d46f51a1a72fdbf071ebc0800a9bcfcbc544 (patch) | |
tree | bd2045da6a476e942b1bbb004c3065124e856464 /fs | |
parent | 2753133eb3321feb81dcb9c88141dd2aa5973ee1 (diff) | |
download | kernel_samsung_smdk4412-3106d46f51a1a72fdbf071ebc0800a9bcfcbc544.zip kernel_samsung_smdk4412-3106d46f51a1a72fdbf071ebc0800a9bcfcbc544.tar.gz kernel_samsung_smdk4412-3106d46f51a1a72fdbf071ebc0800a9bcfcbc544.tar.bz2 |
the overdue removal of the mount/umount uevents
This patch contains the overdue removal of the mount/umount uevents.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/super.c | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -725,16 +725,6 @@ static int test_bdev_super(struct super_block *s, void *data) return (void *)s->s_bdev == data; } -static void bdev_uevent(struct block_device *bdev, enum kobject_action action) -{ - if (bdev->bd_disk) { - if (bdev->bd_part) - kobject_uevent(&bdev->bd_part->kobj, action); - else - kobject_uevent(&bdev->bd_disk->kobj, action); - } -} - int get_sb_bdev(struct file_system_type *fs_type, int flags, const char *dev_name, void *data, int (*fill_super)(struct super_block *, void *, int), @@ -782,7 +772,6 @@ int get_sb_bdev(struct file_system_type *fs_type, } s->s_flags |= MS_ACTIVE; - bdev_uevent(bdev, KOBJ_MOUNT); } return simple_set_mnt(mnt, s); @@ -801,7 +790,6 @@ void kill_block_super(struct super_block *sb) { struct block_device *bdev = sb->s_bdev; - bdev_uevent(bdev, KOBJ_UMOUNT); generic_shutdown_super(sb); sync_blockdev(bdev); close_bdev_excl(bdev); |