https://github.com/torvalds/linux
Revision edadfb10ba35da7253541e4155aa92eff758ebe6 authored by Christoph Hellwig on 10 June 2010, 10:07:54 UTC, committed by Jens Axboe on 06 July 2010, 06:54:08 UTC
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>
1 parent 9c3a8ee
History
Tip revision: edadfb10ba35da7253541e4155aa92eff758ebe6 authored by Christoph Hellwig on 10 June 2010, 10:07:54 UTC
writeback: split writeback_inodes_wb
Tip revision: edadfb1
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 936 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 170.0 KB
Makefile -rw-r--r-- 52.6 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top