AFS: Fix afs_prepare_write()
authorDavid Howells <dhowells@redhat.com>
Wed, 16 May 2007 06:57:04 +0000 (23:57 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 17 May 2007 04:19:15 +0000 (21:19 -0700)
commitbb33ed6345d6156484f39089aa8b52f44ce76609
treec27f2b0f62efceca5ab2289b524e688ec1c9d0f0
parent1800782016fda6fbc9990a0227fec581070f23af
AFS: Fix afs_prepare_write()

afs_prepare_write() should not mark a page up to date if it only partially
fills it in, in expectation of the caller filling in the rest prior to calling
commit_write().  commit_write(), however, should mark the page up to date.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/afs/write.c