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
This commit is contained in:
Bart Van Assche
2019-05-05 16:03:10 +00:00
parent b56d9ce600
commit 058cf8834a

View File

@@ -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 "