summaryrefslogtreecommitdiffstats
path: root/common/block.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/block.c')
-rw-r--r--common/block.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/block.c b/common/block.c
index 0edc861..e2ba9d4 100644
--- a/common/block.c
+++ b/common/block.c
@@ -374,6 +374,8 @@ int blockdevice_register(struct block_device *blk)
list_add_tail(&blk->list, &block_device_list);
+ cdev_create_default_automount(&blk->cdev);
+
return 0;
}