From 058cf8834aa8aa3eb18efaa809fd786c997ae615 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 5 May 2019 16:03:10 +0000 Subject: [PATCH] scst_vdisk: Make a warning message more clear git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8345 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/dev_handlers/scst_vdisk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scst/src/dev_handlers/scst_vdisk.c b/scst/src/dev_handlers/scst_vdisk.c index 275cba8a8..8125244f8 100644 --- a/scst/src/dev_handlers/scst_vdisk.c +++ b/scst/src/dev_handlers/scst_vdisk.c @@ -1795,8 +1795,8 @@ static int vdisk_unmap_file_range(struct scst_cmd *cmd, res = fd->f_op->fallocate(fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, off, len); if (unlikely(res == -EOPNOTSUPP)) { - PRINT_WARNING_ONCE("%s: fallocate() is not supported. Consider setting 'thin_provisioned' to 0 in scst.conf.\n", - virt_dev->name); + PRINT_WARNING_ONCE("%s: fallocate() is not supported by the filesystem. Consider setting 'thin_provisioned' to 0 in scst.conf for %s.\n", + virt_dev->name, virt_dev->name); res = 0; } else if (unlikely(res != 0)) { PRINT_WARNING_ONCE("fallocate() for %lld, len %lld "