]> 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 5d30c56ae07506f09f92d11d02b03a39213a0797..8f9176caf098c559bbe3c9975b2dff9fffb0ffb4 100644 (file)
@@ -102,7 +102,7 @@ void jfs_error(struct super_block *sb, const char *fmt, ...)
        vaf.fmt = fmt;
        vaf.va = &args;
 
-       pr_err("ERROR: (device %s): %pf: %pV\n",
+       pr_err("ERROR: (device %s): %ps: %pV\n",
               sb->s_id, __builtin_return_address(0), &vaf);
 
        va_end(args);
@@ -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;