mm: add end_buffer_read helper function
commit68671f35fe8d785277118a333c88768a4f894917
authorDmitry Monakhov <dmonakhov@openvz.org>
Tue, 16 Oct 2007 08:24:47 +0000 (16 01:24 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 16 Oct 2007 16:42:53 +0000 (16 09:42 -0700)
tree50cb5a378db1b021c2ec3573388af3480df49791
parentef8b4520bd9f8294ffce9abd6158085bde5dc902
mm: add end_buffer_read helper function

Move duplicated code from end_buffer_read_XXX methods to separate helper
function.

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/buffer.c