Re: [PATCH 1/7] xfs: fix dentry aliasing issues in open_by_handle

Dave Chinner
2009-01-14T22:37:42Z

On Wed, Jan 14, 2009 at 06:02:40PM +1100, Lachlan McIlroy wrote:
> Christoph,
>
> When I build with this patch it fails with:
>
> CC init/version.o
> LD init/built-in.o
> LD .tmp_vmlinux1
> fs/built-in.o: In function `xfs_handle_to_dentry':
> /home/lachlan/git/xfs-update/fs/xfs/linux-2.6/xfs_ioctl.c:211: undefined reference to `exportfs_decode_fh'
> make: *** [.tmp_vmlinux1] Error 1

Given:

EXPORT_SYMBOL_GPL(exportfs_decode_fh);

Did you build with EXPORTFS support in your kernel?

If not, then I think that fs/xfs/Kconfig needs to select EXPORTFS
when XFS is configured in (i.e. it's a new dependency).

Cheers,

Dave.
--
Dave Chinner
david@fromorbit.com