]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf68301d09d75b2ae578050568b469c7485955894
treec27f2b0f62efceca5ab2289b524e688ec1c9d0f0
parent68acbc1689de6e71e85f107e19753f48f7c169dd
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