]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/sysv/super.c
m68k: Disable Amiga serial console support if modular
[linux-2.6-omap-h63xx.git] / fs / sysv / super.c
index dc9e7dc07fb7d1be9a8c899f940cccd2fb2000be..5a903da5455154356b1b9d53bf28b3e0f8ae432d 100644 (file)
@@ -332,8 +332,8 @@ static int complete_read_super(struct super_block *sb, int silent, int size)
        sb->s_magic = SYSV_MAGIC_BASE + sbi->s_type;
        /* set up enough so that it can read an inode */
        sb->s_op = &sysv_sops;
-       root_inode = iget(sb,SYSV_ROOT_INO);
-       if (!root_inode || is_bad_inode(root_inode)) {
+       root_inode = sysv_iget(sb, SYSV_ROOT_INO);
+       if (IS_ERR(root_inode)) {
                printk("SysV FS: get root inode failed\n");
                return 0;
        }
@@ -528,9 +528,6 @@ static struct file_system_type v7_fs_type = {
        .fs_flags       = FS_REQUIRES_DEV,
 };
 
-extern int sysv_init_icache(void) __init;
-extern void sysv_destroy_icache(void);
-
 static int __init init_sysv_fs(void)
 {
        int error;