]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 18 May 2009 23:35:07 +0000 (16:35 -0700)
commit668d834cdaebbd0280e4bd497205ea66ee0bf23f
treeb57f2176346005281997c370e5a991c22832a374
parente3fedc3d38a8b6a513f34e30ebc4d685c49261c9
NFS: Fix the return value in nfs_page_mkwrite()

commit 2b2ec7554cf7ec5e4412f89a5af6abe8ce950700 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/nfs/file.c