lkml.org 
[lkml]   [2003]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: aio on ramfs
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:59    [W:0.033 / U:1.768 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site