diff options
Diffstat (limited to 'fs/umsdos/inode.c')
-rw-r--r-- | fs/umsdos/inode.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/fs/umsdos/inode.c b/fs/umsdos/inode.c index 7908144d7..61c832ed4 100644 --- a/fs/umsdos/inode.c +++ b/fs/umsdos/inode.c @@ -75,7 +75,6 @@ saved_root->d_count); pseudo_root = NULL; } msdos_put_super (sb); - MOD_DEC_USE_COUNT; } @@ -334,7 +333,6 @@ struct super_block *UMSDOS_read_super (struct super_block *sb, void *data, struct super_block *res; struct dentry *new_root; - MOD_INC_USE_COUNT; MSDOS_SB(sb)->options.isvfat = 0; /* * Call msdos-fs to mount the disk. @@ -381,8 +379,6 @@ struct super_block *UMSDOS_read_super (struct super_block *sb, void *data, out_fail: printk(KERN_INFO "UMSDOS: msdos_read_super failed, mount aborted.\n"); - sb->s_dev = 0; - MOD_DEC_USE_COUNT; return NULL; } @@ -437,13 +433,7 @@ out_noroot: } -static struct file_system_type umsdos_fs_type = -{ - "umsdos", - FS_REQUIRES_DEV, - UMSDOS_read_super, - NULL -}; +static DECLARE_FSTYPE_DEV(umsdos_fs_type, "umsdos", UMSDOS_read_super); int __init init_umsdos_fs (void) { |