]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: use ENOTBLK for direct I/O to buffered I/O fallback
authorChristoph Hellwig <hch@lst.de>
Fri, 24 Jul 2020 05:45:58 +0000 (22:45 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 5 Aug 2020 16:24:16 +0000 (09:24 -0700)
commit18aecc9813fdbe8abeffbd75986d9e24d5f16b90
treefae2d48ffec7d9f6b2f77c1b9d82b3785b6129b2
parent15eb1549dd31a093d7e7fcd9b39d6b23be0b5004
xfs: use ENOTBLK for direct I/O to buffered I/O fallback

This is what the classic fs/direct-io.c implementation and thuse other
file systems use.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_file.c