diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2007-10-17 02:25:46 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 11:42:45 -0400 |
commit | e0bf68ddec4f4f90e5871404be4f1854c17f3120 (patch) | |
tree | 36203a3558cbe26d698bed18be69b3822fb5eef2 /fs/char_dev.c | |
parent | dc62a30e274d003a4d08fb888f1520add4b21373 (diff) |
mm: bdi init hooks
provide BDI constructor/destructor hooks
[akpm@linux-foundation.org: compile fix]
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/char_dev.c')
-rw-r--r-- | fs/char_dev.c | 1 |
1 files changed, 1 insertions, 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) | |||
545 | void __init chrdev_init(void) | 545 | void __init chrdev_init(void) |
546 | { | 546 | { |
547 | cdev_map = kobj_map_init(base_probe, &chrdevs_lock); | 547 | cdev_map = kobj_map_init(base_probe, &chrdevs_lock); |
548 | bdi_init(&directly_mappable_cdev_bdi); | ||
548 | } | 549 | } |
549 | 550 | ||
550 | 551 | ||