mirror of
https://github.com/torvalds/linux.git
synced 2024-11-29 23:51:37 +00:00
77af13ba3c
The call to invalidate_inode_pages2_range() in __iomap_dio_rw() may
fail, in which case -ENOTBLK is returned and this error code is
propagated back to user space trhough iomap_dio_rw() ->
zonefs_file_dio_write() return chain. This error code is fairly obscure
and may confuse the user. Avoid this and be consistent with the behavior
of zonefs_file_dio_append() for similar invalidate_inode_pages2_range()
errors by returning -EBUSY to user space when iomap_dio_rw() returns
-ENOTBLK.
Suggested-by: Christoph Hellwig <hch@infradead.org>
Fixes:
|
||
---|---|---|
.. | ||
file.c | ||
Kconfig | ||
Makefile | ||
super.c | ||
sysfs.c | ||
trace.h | ||
zonefs.h |