btrfs: select FS_IOMAP
PATCH 1/1 btrfs: select FS_IOMAP
As btrfs now calls iomap_dio_rw, the helper code actually has to be enabled to avoid a link error:
ERROR: modpost: "iomap_dio_rw" [fs/btrfs/btrfs.ko] undefined!
Fixes f31e5f70919f ("btrfs: switch to iomap_dio_rw() for dio")
Signed-off-by Arnd Bergmann <[email protected]>
--- fs/btrfs/Kconfig | 1 + 1 file changed, 1 insertion(+)
fs/btrfs/Kconfig +1 -0
@@ -14,6 +14,7 @@ config BTRFS_FS select LZO_DECOMPRESS select ZSTD_COMPRESS select ZSTD_DECOMPRESS + select FS_IOMAP select RAID6_PQ select XOR_BLOCKS select SRCU
Signature · 1 line
2.26.2
Right,
Reviewed-by Johannes Thumshirn <[email protected]>
Quoted 7 lines · Arnd Bergmann
As btrfs now calls
iomap_dio_rw, the helper code actually has to be enabled to avoid a link error:ERROR: modpost: "
iomap_dio_rw" [fs/btrfs/btrfs.ko] undefined!Fixes f31e5f70919f ("btrfs: switch to iomap_dio_rw() for dio")Signed-off-by Arnd Bergmann <[email protected]>
Thanks, I've folded the patch in so we don't get build breakage in the patches between the two.