Messages in this thread | | | From | Rob Landley <> | Subject | Re: aio on ramfs | Date | Sun, 7 Dec 2003 15:50:02 -0600 |
| |
On Sunday 07 December 2003 02:34, William Lee Irwin III wrote:
> -- wli > > diff -prauN linux-2.6.0-test11/fs/ramfs/inode.c > ramfs-2.6.0-test11-1/fs/ramfs/inode.c --- > linux-2.6.0-test11/fs/ramfs/inode.c 2003-11-26 12:43:32.000000000 -0800 +++ > ramfs-2.6.0-test11-1/fs/ramfs/inode.c 2003-12-07 00:26:29.000000000 -0800 > @@ -31,6 +31,7 @@ > #include <linux/string.h> > #include <linux/smp_lock.h> > #include <linux/backing-dev.h> > +#include <linux/writeback.h> > > #include <asm/uaccess.h> > > @@ -140,10 +141,28 @@ static int ramfs_symlink(struct inode * > return error; > }
Can I suggest a comment right here, "writepage/writepages/set_page_dirty stubs needed for aio"?
> +static int ramfs_writepage(struct page *page, struct writeback_control > *wbc) +{ > + return 0; > +} > + > +static int ramfs_writepages(struct address_space *mapping, struct > writeback_control *wbc) +{ > + return 0; > +} > + > +static int ramfs_set_page_dirty(struct page *page) > +{ > + return 0; > +}
Rob - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |