VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   35 Branches   59 Tags
author: Peter Zijlstra <a.p.zijlstra@chello.nl> 2007-10-16 23:25:46 -0700 committer: Linus Torvalds <torvalds@woody.linux-foundation.org> 2007-10-17 08:42:45 -0700 commit: e0bf68ddec4f4f90e5871404be4f1854c17f3120 parent: dc62a30e274d003a4d08fb888f1520add4b21373
Commit Summary:
mm: bdi init hooks
Diffstat:
1 file changed, 1 insertion, 0 deletions
diff --git a/fs/char_dev.c b/fs/char_dev.c
index bbbf07baa145..c3bfa76765c4 100644
--- a/fs/char_dev.c
+++ b/fs/char_dev.c
@@ -545,6 +545,7 @@ static struct kobject *base_probe(dev_t dev, int *part, void *data)
 void __init chrdev_init(void)
 {
 	cdev_map = kobj_map_init(base_probe, &chrdevs_lock);
+	bdi_init(&directly_mappable_cdev_bdi);
 }