summaryrefslogtreecommitdiffstats
path: root/security/capability.c
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew.r.wilcox@intel.com>2014-06-04 16:07:44 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-04 16:54:02 -0700
commit90768eee4565adb28ea28b4ac5081c676a8fe1f2 (patch)
treeacd43359d33ffada20aae69d254c9bb44dab6170 /security/capability.c
parent1b938c0827478df268d2336469ec48d400a2eb3e (diff)
downloadop-kernel-dev-90768eee4565adb28ea28b4ac5081c676a8fe1f2.zip
op-kernel-dev-90768eee4565adb28ea28b4ac5081c676a8fe1f2.tar.gz
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 'security/capability.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud