Skip to contentSkip to conversation

btrfs: select FS_IOMAP

PATCH In review Arnd Bergmann 3 participants 3 messages May 28, 2020 Btrfs file system

lore
Share & tools
lore
#0 lore raw

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")
---
 fs/btrfs/Kconfig | 1 +
 1 file changed, 1 insertion(+)
fs/btrfs/Kconfig +1 -0
index 575636f6491e..68b95ad82126 100644
@@ -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
#2 lore raw
In reply to Arnd Bergmann
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")

Thanks, I've folded the patch in so we don't get build breakage in the patches between the two.