diff options
author | 2022-03-24 22:40:20 +0100 | |
---|---|---|
committer | 2022-03-24 23:40:36 +0100 | |
commit | 11661835f90153bdfc5325e550d2b72d0f47cb3e (patch) | |
tree | 4177d09509443aade9d2df6f86fbabdc3ad367fa /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | gfs2: Fix gfs2_file_buffered_write endless loop workaround (diff) | |
download | wireguard-linux-11661835f90153bdfc5325e550d2b72d0f47cb3e.tar.xz wireguard-linux-11661835f90153bdfc5325e550d2b72d0f47cb3e.zip |
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
1d45bb7f9d2a5 ("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>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions