diff options
author | David Howells <dhowells@redhat.com> | 2007-05-10 03:15:23 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-10 09:26:52 -0700 |
commit | 5bbf5d39f88af9e8173f7331a3741a8b3ff16a1c (patch) | |
tree | 8bd516e07d2cb8b7578d9783ca45d0a23290dc23 /net/rxrpc/ar-peer.c | |
parent | b9b1f8d5930a813879278d0cbfc8c658d6a038dc (diff) |
AFS: further write support fixes
Further fixes for AFS write support:
(1) The afs_send_pages() outer loop must do an extra iteration if it ends
with 'first == last' because 'last' is inclusive in the page set
otherwise it fails to send the last page and complete the RxRPC op under
some circumstances.
(2) Similarly, the outer loop in afs_pages_written_back() must also do an
extra iteration if it ends with 'first == last', otherwise it fails to
clear PG_writeback on the last page under some circumstances.
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>
Diffstat (limited to 'net/rxrpc/ar-peer.c')
0 files changed, 0 insertions, 0 deletions