Skip to content

Commit

Permalink
exfat: fs: add CONFIG_BUFFER_HEAD
Browse files Browse the repository at this point in the history
Add a new config option that controls building the buffer_head code, and
select it from all file systems and stacking drivers that need it.

For the block device nodes and alternative iomap based buffered I/O path
is provided when buffer_head support is not enabled, and iomap needs a
a small tweak to define the IOMAP_F_BUFFER_HEAD flag to 0 to not call
into the buffer_head code when it doesn't exist.

Otherwise this is just Kconfig and ifdef changes.

Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Luis Chamberlain <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Signed-off-by: Namjae Jeon <[email protected]>
  • Loading branch information
Christoph Hellwig authored and namjaejeon committed Nov 2, 2023
1 parent 950e271 commit 98f3631
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

config EXFAT_FS
tristate "exFAT filesystem support"
select BUFFER_HEAD
select NLS
select LEGACY_DIRECT_IO
help
Expand Down

0 comments on commit 98f3631

Please sign in to comment.