On Wed, 2007-03-28 at 09:24 +0300, Pekka J Enberg wrote: > From: Pekka Enberg <[EMAIL PROTECTED]> > > As NOMMU does not include fs/revoke.c, we need to provide a stub for > generic_file_revoke() so that filesystems using it compile. > > Cc: Bryan Wu <[EMAIL PROTECTED]> > Signed-off-by: Pekka Enberg <[EMAIL PROTECTED]> > --- > include/linux/fs.h | 4 ++++ > 1 file changed, 4 insertions(+) > > Index: uml-2.6/include/linux/fs.h > =================================================================== > --- uml-2.6.orig/include/linux/fs.h 2007-03-28 09:18:57.000000000 +0300 > +++ uml-2.6/include/linux/fs.h 2007-03-28 09:20:48.000000000 +0300 > @@ -1741,7 +1741,11 @@ extern long do_splice_direct(struct file > size_t len, unsigned int flags); > > /* fs/revoke.c */ > +#ifdef CONFIG_MMU > extern int generic_file_revoke(struct file *); > +#else > +#define generic_file_revoke NULL > +#endif > > extern void > file_ra_state_init(struct file_ra_state *ra, struct address_space *mapping);
Cool, you are so quick and your patchbomb tool is very efficient. I will test it on my side ASAP. Thanks -Bryan - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/