diff options
author | Christoph Hellwig <hch@lst.de> | 2023-06-12 08:36:46 +0300 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2023-06-12 13:18:55 +0300 |
commit | 7b7b06d55aeff969ffdfd1170937198f7c02b684 (patch) | |
tree | 2c15d17c50a74b2cef5d384339a4fdca92e0cd59 /scripts/gdb/linux/proc.py | |
parent | f9da18cd4616fbc9816347b7b2be188653786058 (diff) | |
download | linux-7b7b06d55aeff969ffdfd1170937198f7c02b684.tar.xz |
gfs2: set FMODE_CAN_ODIRECT instead of a dummy direct_IO method
Since commit a2ad63daa88b ("VFS: add FMODE_CAN_ODIRECT file flag"), file
systems can just set the FMODE_CAN_ODIRECT flag at open time instead of
wiring up a dummy direct_IO method to indicate support for direct I/O.
Remove .direct_IO from gfs2_aops and set FMODE_CAN_ODIRECT in
gfs2_open_common for regular files that do not use data journalling.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions