mm: write iovec cleanup
authorNick Piggin <npiggin@suse.de>
Tue, 16 Oct 2007 08:24:58 +0000 (01:24 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 16 Oct 2007 16:42:54 +0000 (09:42 -0700)
commit4a9e5ef1f4f15205e477817a5cefc34bd3f65f55
tree51f52086ecbccc3f41955d8d12293ef7a566a05b
parenteb2be189317d031895b5ca534fbf735eb546158b
mm: write iovec cleanup

Hide some of the open-coded nr_segs tests into the iovec helpers.  This is all
to simplify generic_file_buffered_write, because that gets more complex in the
next patch.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/filemap.c
mm/filemap.h
mm/filemap_xip.c