summaryrefslogtreecommitdiffstats
path: root/mm/filemap.c
diff options
context:
space:
mode:
authorMatthew Wilcox2014-06-05 01:07:44 +0200
committerLinus Torvalds2014-06-05 01:54:02 +0200
commit90768eee4565adb28ea28b4ac5081c676a8fe1f2 (patch)
treeacd43359d33ffada20aae69d254c9bb44dab6170 /mm/filemap.c
parentfs/buffer.c: remove block_write_full_page_endio() (diff)
downloadkernel-qcow2-linux-90768eee4565adb28ea28b4ac5081c676a8fe1f2.tar.gz
kernel-qcow2-linux-90768eee4565adb28ea28b4ac5081c676a8fe1f2.tar.xz
kernel-qcow2-linux-90768eee4565adb28ea28b4ac5081c676a8fe1f2.zip
fs/mpage.c: factor clean_buffers() out of __mpage_writepage()
__mpage_writepage() is over 200 lines long, has 20 local variables, four goto labels and could desperately use simplification. Splitting clean_buffers() into a helper function improves matters a little, removing 20+ lines from it. Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com> Cc: Dave Chinner <david@fromorbit.com> Cc: Dheeraj Reddy <dheeraj.reddy@intel.com> Cc: Hugh Dickins <hughd@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions