Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

btrfs: remove redundant warning message in btrfs_check_uuid_tree()

If we fail to start the UUID rescan kthread, btrfs_check_uuid_tree() logs
an error message and returns the error to the single caller, open_ctree().

This however is redundant since the caller already logs an error message,
which is also more informative since it logs the error code. Some remove
the warning message from btrfs_check_uuid_tree() as it doesn't add any
value.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>

authored by

Filipe Manana and committed by
David Sterba
64def7d7 06493553

-1
-1
fs/btrfs/disk-io.c
··· 2972 2972 task = kthread_run(btrfs_uuid_rescan_kthread, fs_info, "btrfs-uuid"); 2973 2973 if (IS_ERR(task)) { 2974 2974 /* fs_info->update_uuid_tree_gen remains 0 in all error case */ 2975 - btrfs_warn(fs_info, "failed to start uuid_rescan task"); 2976 2975 up(&fs_info->uuid_tree_rescan_sem); 2977 2976 return PTR_ERR(task); 2978 2977 }