diff options
| author | Linus Torvalds <torvalds@athlon.transmeta.com> | 2002-02-04 23:58:17 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@athlon.transmeta.com> | 2002-02-04 23:58:17 -0800 |
| commit | cc5979c373db310084dc03b4cba091840dda2491 (patch) | |
| tree | 5bc9a0c0989726fd0ba37078a3a2e673890a2cc6 /fs/devfs | |
| parent | 40b1df3aaf1d7d7258b501baa805fa2c5bb2692b (diff) | |
v2.5.0.4 -> v2.5.0.5
- Patrick Mochel: driver model infrastructure, part 1
- Jens Axboe: more bio fixes, cleanups
- Andrew Morton: release locking fixes
- Al Viro: superblock/mount handling
- Kai Germaschewski: AVM Fritz!Card ISDN driver
- Christoph Hellwig: make cramfs SMP-safe.
Diffstat (limited to 'fs/devfs')
| -rw-r--r-- | fs/devfs/base.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/devfs/base.c b/fs/devfs/base.c index d93589c86282..2eeb1b7335c0 100644 --- a/fs/devfs/base.c +++ b/fs/devfs/base.c @@ -3358,6 +3358,9 @@ static int __init init_devfs_fs (void) printk ("%s: devfs_debug: 0x%0x\n", DEVFS_NAME, devfs_debug); #endif printk ("%s: boot_options: 0x%0x\n", DEVFS_NAME, boot_options); + devfsd_buf_cache = kmem_cache_create ("devfsd_event", + sizeof (struct devfsd_buf_entry), + 0, 0, NULL, NULL); err = register_filesystem (&devfs_fs_type); if (!err) { @@ -3372,9 +3375,6 @@ void __init mount_devfs_fs (void) { int err; - devfsd_buf_cache = kmem_cache_create ("devfsd_event", - sizeof (struct devfsd_buf_entry), - 0, 0, NULL, NULL); if ( !(boot_options & OPTION_MOUNT) ) return; err = do_mount ("none", "/dev", "devfs", 0, ""); if (err == 0) printk ("Mounted devfs on /dev\n"); |
