btrfs: ioctl: resize: only show message if size is changed
authorMarcos Paulo de Souza <marcos@mpdesouza.com>
Tue, 11 Feb 2020 13:55:26 +0000 (10:55 -0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 23 Mar 2020 16:01:46 +0000 (17:01 +0100)
commitfaf8f7b957134a68f8ca409ae9957affd098d5c1
tree573469a3abe07d74d875a8e91eb1bdf8bdcfdae1
parentb82582d668b581c6b3c488278e18def2e98bb2ab
btrfs: ioctl: resize: only show message if size is changed

There is no point to inform the user about size change if there's none.
Update the message to conform to a commonly used format where the path
and devid are printed and also print old and new sizes.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Marcos Paulo de Souza <marcos@mpdesouza.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ enhance message ]
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ioctl.c