[PATCH] xfs_io: enable missing functions

Christoph Hellwig hch at infradead.org
Thu Dec 3 11:00:59 CST 2009


On Wed, Dec 02, 2009 at 12:13:56PM -0600, Eric Sandeen wrote:
> madvise and mincore were never hooked up to init_commands().
> 
> Further, there is no HAVE_INJECT test in the configure scripts,
> so just remove that test (and keep the existing unconditional
> inject_init() prototype.

Hmm, maybe Nathan still has an idea what it's for, probably some IRIX
build.

Anyway, the madvise and mincore wireup looks good.  Note entirely sure
what they do in xfs_io, though - they're VM syscalls not filesystem and
don't cause I/O normally.

Reviewed-by: Christoph Hellwig <hch at lst.de>




More information about the xfs mailing list