linux/fs/zonefs
Damien Le Moal fc426026c3 zonefs: Fix error message in zonefs_file_dio_append()
[ Upstream commit 88b170088a ]

Since the expected write location in a sequential file is always at the
end of the file (append write), when an invalid write append location is
detected in zonefs_file_dio_append(), print the invalid written location
instead of the expected write location.

Fixes: a608da3bd7 ("zonefs: Detect append writes at invalid locations")
Cc: stable@vger.kernel.org
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-04-06 12:10:34 +02:00
..
file.c zonefs: Fix error message in zonefs_file_dio_append() 2023-04-06 12:10:34 +02:00
Kconfig
Makefile zonefs: Reorganize code 2023-04-06 12:10:34 +02:00
super.c zonefs: Separate zone information from inode information 2023-04-06 12:10:34 +02:00
sysfs.c zonefs: Remove to_attr() helper function 2022-11-16 16:08:31 +09:00
trace.h zonefs: Separate zone information from inode information 2023-04-06 12:10:34 +02:00
zonefs.h zonefs: Separate zone information from inode information 2023-04-06 12:10:34 +02:00