Messages in this thread Patch in this message | | | Date | Thu, 14 Nov 2002 17:17:00 -0500 (EST) | From | Chuck Lever <> | Subject | [PATCH] add set_page_dirty method to NFS addr space ops |
| |
by default, set_page_dirty() assumes the caller wants buffer heads, which is not true for NFS files. trond determined this will suffice for now.
against 2.5.47.
diff -ruN 21-coalesce/fs/nfs/file.c 22-set_page_dirty/fs/nfs/file.c --- 21-coalesce/fs/nfs/file.c Sun Nov 10 22:28:26 2002 +++ 22-set_page_dirty/fs/nfs/file.c Thu Nov 14 16:53:46 2002 @@ -168,6 +168,7 @@ struct address_space_operations nfs_file_aops = { .readpage = nfs_readpage, .readpages = nfs_readpages, + .set_page_dirty = __set_page_dirty_nobuffers, .writepage = nfs_writepage, .writepages = nfs_writepages, .prepare_write = nfs_prepare_write, - 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/
| |