Factor outstanding I/O error handling
authorGuillaume Chazarain <guichaz@yahoo.fr>
Tue, 8 May 2007 07:23:25 +0000 (00:23 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:14:57 +0000 (11:14 -0700)
commit3e9f45bd18191bbd05468b19b7064b8da8262aba
tree06c790a9cb1afc83d170447a277e51f5a1a5f303
parentc83e44842074a87614c78eca70fa6467b0bc3c4a
Factor outstanding I/O error handling

Cleanup: setting an outstanding error on a mapping was open coded too many
times.  Factor it out in mapping_set_error().

Signed-off-by: Guillaume Chazarain <guichaz@yahoo.fr>
Cc: Steven Whitehouse <swhiteho@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/gfs2/glops.c
fs/mpage.c
include/linux/pagemap.h
mm/page-writeback.c
mm/vmscan.c