]> git.baikalelectronics.ru Git - kernel.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)
commit8bc17904edf11970c09bf8ea7af0696999d404c9
tree373355d53c547896ec1fbc8486311efa37dbd18e
parent0e12c2d4707900681bdcccccfcbb16b52d50638b
NFS: Fix the return value in nfs_page_mkwrite()

Commit 6e6acd322f18081a67f994951cd95ab252a9d7f7 ("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