lkml.org 
[lkml]   [2002]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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/

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