Message ID | 20200528091649.2874627-1-arnd@arndb.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | btrfs: select FS_IOMAP | expand |
Right,
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
On Thu, May 28, 2020 at 11:16:42AM +0200, Arnd Bergmann wrote: > 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 <arnd@arndb.de> Thanks, I've folded the patch in so we don't get build breakage in the patches between the two.
diff --git a/fs/btrfs/Kconfig b/fs/btrfs/Kconfig index 575636f6491e..68b95ad82126 100644 --- a/fs/btrfs/Kconfig +++ b/fs/btrfs/Kconfig @@ -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
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 <arnd@arndb.de> --- fs/btrfs/Kconfig | 1 + 1 file changed, 1 insertion(+)