diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-07-03 21:46:06 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-07-03 21:46:06 +0000 |
commit | 3e414096429d55fbc8116171bba3487647bbe638 (patch) | |
tree | 2b5fcfd9d16fa3a32c829fc2076f6e3785b43374 /fs/ramfs | |
parent | 20b23bfcf36fcb2d16d8b844501072541970637c (diff) |
Merge with Linux 2.4.0-test3-pre2.
Diffstat (limited to 'fs/ramfs')
-rw-r--r-- | fs/ramfs/inode.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/fs/ramfs/inode.c b/fs/ramfs/inode.c index f87d30e0b..9bb7611c1 100644 --- a/fs/ramfs/inode.c +++ b/fs/ramfs/inode.c @@ -298,15 +298,9 @@ static struct inode_operations ramfs_dir_inode_operations = { rename: ramfs_rename, }; -static void ramfs_put_super(struct super_block *sb) -{ - d_genocide(sb->s_root); - shrink_dcache_parent(sb->s_root); -} - static struct super_operations ramfs_ops = { - put_super: ramfs_put_super, statfs: ramfs_statfs, + put_inode: force_delete, }; static struct super_block *ramfs_read_super(struct super_block * sb, void * data, int silent) @@ -331,7 +325,7 @@ static struct super_block *ramfs_read_super(struct super_block * sb, void * data return sb; } -static DECLARE_FSTYPE(ramfs_fs_type, "ramfs", ramfs_read_super, 0); +static DECLARE_FSTYPE(ramfs_fs_type, "ramfs", ramfs_read_super, FS_LITTER); static int __init init_ramfs_fs(void) { |