fs/mpage.c: consolidate code
authorHai Shan <haishan.bai@gmail.com>
Thu, 13 Jan 2011 23:45:51 +0000 (15:45 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 14 Jan 2011 01:32:32 +0000 (17:32 -0800)
commitc32b0d4b3f19c2f5d29568f8b7b72b61693f1277
tree9cbaad32db3e63396620d60d56c7895d236b8944
parent9cbb4cb21b19fff46cf1174d0ed699ef710e641c
fs/mpage.c: consolidate code

Merge mpage_end_io_read() and mpage_end_io_write() into mpage_end_io() to
eliminate code duplication.

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Hai Shan <shan.hai@windriver.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/mpage.c