]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit196c21dabb1b402d5b4702b3407f20acc03a89c0
tree573469a3abe07d74d875a8e91eb1bdf8bdcfdae1
parent135d5910a5fc082a957789753282d93081e134b7
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