]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/jfs/super.c
fs/jfs: remove unnecessary new_valid_dev() checks
[karo-tx-linux.git] / fs / jfs / super.c
index 4cd9798f4948c646d065c50dd0f6092fe75197b0..8f9176caf098c559bbe3c9975b2dff9fffb0ffb4 100644 (file)
@@ -496,9 +496,6 @@ static int jfs_fill_super(struct super_block *sb, void *data, int silent)
 
        jfs_info("In jfs_read_super: s_flags=0x%lx", sb->s_flags);
 
-       if (!new_valid_dev(sb->s_bdev->bd_dev))
-               return -EOVERFLOW;
-
        sbi = kzalloc(sizeof(struct jfs_sb_info), GFP_KERNEL);
        if (!sbi)
                return -ENOMEM;