xfs module insert fails with "xfs: Unknown symbol exportfs_decode_fh (err 0)"

Chandra Seetharaman
2013-04-26T17:24:21Z

Hello,

When I tried to insert xfs module in my test machine it failed with

xfs: Unknown symbol exportfs_decode_fh (err 0).

Found out that I did not have CONFIG_EXPORTFS enabled in my kernel
config.

All .*by_handle code in XFS is open coded. Wondering if they should be
under #ifdef CONFIG_EXPORTFS ?

I can create a patch, but wanted to find out if it is indeed needed :)

Regards,

Chandra