]> git.baikalelectronics.ru Git - kernel.git/commit
gfs2: Remove dead code in gfs2_file_read_iter
authorAndreas Gruenbacher <agruenba@redhat.com>
Thu, 24 Mar 2022 21:40:20 +0000 (22:40 +0100)
committerAndreas Gruenbacher <agruenba@redhat.com>
Thu, 24 Mar 2022 22:40:36 +0000 (23:40 +0100)
commitaa89ba480c5515a376af100057d5d4d2c6dcbed4
tree4177d09509443aade9d2df6f86fbabdc3ad367fa
parente35d1aefa9b7c17743dd817b8dd76b2b4c9e2fc9
gfs2: Remove dead code in gfs2_file_read_iter

Function iomap_dio_rw() only returns -ENOTBLK for write requests and
gfs2_file_direct_read() no longer returns -ENOTBLK since commit
1a3fd1ba32202 ("gfs2: Use iomap for stuffed direct I/O reads"), so there
is no need to check for -ENOTBLK in gfs2_file_read_iter() anymore.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/file.c