summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/hash.c
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2018-01-18 22:02:33 +0800
committerDavid Sterba <dsterba@suse.com>2018-01-22 20:25:54 +0100
commit327f18cc7f44bc09170200514f42e61bce25d022 (patch)
tree0d18afda02b5bbf8c3ba6a41ee907d75daab95a7 /fs/btrfs/hash.c
parentd8367db30a101123f82a9408c8c6dd3fb287653f (diff)
btrfs: move pr_info into device_list_add
Commit 60999ca4b403 ("btrfs: make device scan less noisy") adds return value 1 to device_list_add(), so that parent function can call pr_info only when new device is added. Move the pr_info() part into device_list_add() so that this function can be kept simple. Signed-off-by: Anand Jain <anand.jain@oracle.com> Reviewed-by: Josef Bacik <jbacik@fb.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/hash.c')
0 files changed, 0 insertions, 0 deletions