fstrim: do not check that specified file is on a block device
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 29 Mar 2018 14:00:30 +0000 (16:00 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 29 Mar 2018 14:05:10 +0000 (16:05 +0200)
commit3be4b9b0dee790bc19314411f109d6dcb14f97dc
tree36d2ccf7d60606e4bba31a65783c9295927ff7d2
parentd1b845706df2aa819babe74cb0b9b15c13da6b16
fstrim: do not check that specified file is on a block device

Kernel will surely inform us in FITRIM does not make sense on a given file.

function                                             old     new   delta
fstrim_main                                          241     221     -20

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
util-linux/fstrim.c