]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
btrfs: don't print the crc32c implementation at module load time
authorChristoph Hellwig <hch@lst.de>
Wed, 5 Apr 2023 05:49:04 +0000 (07:49 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 17 Apr 2023 16:01:22 +0000 (18:01 +0200)
Btrfs can use various different checksumming algorithms, and prints
the one used for a given file system at mount time.  Don't bother
printing the crc32c implementation at module load time, the information
is available in /sys/fs/btrfs/FSID/checksum.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/super.c

index 03aaf8de9cabf47c01e67c30b1ea4f497638cde4..6cb97efee9765ca1f4324be1fd9c8f2471e710a0 100644 (file)
@@ -2413,7 +2413,7 @@ static int __init btrfs_print_mod_info(void)
                        ", fsverity=no"
 #endif
                        ;
-       pr_info("Btrfs loaded, crc32c=%s%s\n", crc32c_impl(), options);
+       pr_info("Btrfs loaded%s\n", options);
        return 0;
 }