summaryrefslogtreecommitdiffstats
path: root/mm/backing-dev.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2010-06-10 12:07:54 +0200
committerJens Axboe <jaxboe@fusionio.com>2010-07-06 08:54:08 +0200
commitedadfb10ba35da7253541e4155aa92eff758ebe6 (patch)
treea3c676f7b2c9b301d7e1948febeaba76ea1c5850 /mm/backing-dev.c
parent9c3a8ee8a1d72c5c0d7fbdf426d80e270ddfa54c (diff)
downloadlinux-edadfb10ba35da7253541e4155aa92eff758ebe6.tar.bz2
writeback: split writeback_inodes_wb
The case where we have a superblock doesn't require a loop here as we scan over all inodes in writeback_sb_inodes. Split it out into a separate helper to make the code simpler. This also allows to get rid of the sb member in struct writeback_control, which was rather out of place there. Also update the comments in writeback_sb_inodes that explain the handling of inodes from wrong superblocks. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'mm/backing-dev.c')
0 files changed, 0 insertions, 0 deletions