"Hans-Peter Jansen":
> The patch didn't apply cleanly to aufs2-31 (standalone), but I applied
> the attached patch (build service refuses to apply patches with fuzz).
> Build is triggered.
>
> Unfortunately, it bails out with:
>
> usr/src/packages/BUILD/aufs2-standalone.tree-31-20100823/obj/default/fs/aufs/f_op.c:
>
> In function 'aufs_mmap':
> /usr/src/packages/BUILD/aufs2-standalone.tree-31-20100823/obj/default/fs/aufs/f_op.c:671:
>
> error: implicit declaration of function 'xip_file_mmap'
>
> I wasn't able to locate the xip_file_mmap function anywhere in the
> source. Probably it's introduced in a later version?
The function should exist in mm/filemap_xip.c, and its declartion is in
include/linux/fs.h.
But the function is available when CONFIG_FS_XIP is enabled. So the
patch should be like this.
> - err = generic_file_mmap(file, vma);
#ifdef CONFIG_FS_XIP
> + if (!file->f_mapping->a_ops->get_xip_mem)
> + err = generic_file_mmap(file, vma);
> + else
> + err = xip_file_mmap(file, vma);
> + AuTraceErr(err);
#else
err = generic_file_mmap(file, vma);
#endif
J. R. Okajima
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2