]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
NFS: Fix the return value in nfs_page_mkwrite()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 7 Apr 2009 21:02:53 +0000 (14:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 7 Apr 2009 21:07:03 +0000 (14:07 -0700)
commit2b2ec7554cf7ec5e4412f89a5af6abe8ce950700
tree373355d53c547896ec1fbc8486311efa37dbd18e
parent8e2c4f2844c0e8dcdfe312e5f2204854ca8532c6
NFS: Fix the return value in nfs_page_mkwrite()

Commit c2ec175c39f62949438354f603f4aa170846aabb ("mm: page_mkwrite
change prototype to match fault") exposed a bug in the NFS
implementation of page_mkwrite.  We should be returning 0 on success...

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/nfs/file.c