summaryrefslogtreecommitdiffstats
path: root/kernel/fs/jfs/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fs/jfs/super.c')
-rw-r--r--kernel/fs/jfs/super.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/fs/jfs/super.c b/kernel/fs/jfs/super.c
index 4cd9798f4..8f9176caf 100644
--- a/kernel/fs/jfs/super.c
+++ b/kernel/fs/jfs/super.c
@@ -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;