diff options
| author | Christoph Hellwig <[email protected]> | 2023-06-08 09:11:33 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2023-06-19 11:59:38 +0000 |
| commit | f02c75e630f09ff4906b0839ed0eaa37c2316132 (patch) | |
| tree | 09b3c04644d7329ef6d345529ba4331a45414ae8 /fs/btrfs/tree-mod-log.c | |
| parent | btrfs: update documentation for a block group's bg_list member (diff) | |
| download | kernel-f02c75e630f09ff4906b0839ed0eaa37c2316132.tar.gz kernel-f02c75e630f09ff4906b0839ed0eaa37c2316132.zip | |
btrfs: 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.
Do that for btrfs so that noop_direct_IO can eventually be removed.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/tree-mod-log.c')
0 files changed, 0 insertions, 0 deletions
