]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9e0209af315269a1a60455e054578e454c83dd80
tree51f52086ecbccc3f41955d8d12293ef7a566a05b
parent0d91778e75756467b37060d528873df70943a8b6
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