aboutsummaryrefslogtreecommitdiffstats
path: root/fs/buffer.c
diff options
context:
space:
mode:
authorTejun Heo <[email protected]>2015-05-28 18:50:49 +0000
committerJens Axboe <[email protected]>2015-06-02 14:39:08 +0000
commit21c6321fbb3a3787af07f1bc031d713a707fb69c (patch)
treede5489853b7f0d82adfd74da30d3945aba45e366 /fs/buffer.c
parentmm: vmscan: disable memcg direct reclaim stalling if cgroup writeback support... (diff)
downloadkernel-21c6321fbb3a3787af07f1bc031d713a707fb69c.tar.gz
kernel-21c6321fbb3a3787af07f1bc031d713a707fb69c.zip
writeback: relocate wb[_try]_get(), wb_put(), inode_{attach|detach}_wb()
Currently, majority of cgroup writeback support including all the above functions are implemented in include/linux/backing-dev.h and mm/backing-dev.c; however, the portion closely related to writeback logic implemented in include/linux/writeback.h and mm/page-writeback.c will expand to support foreign writeback detection and correction. This patch moves wb[_try]_get() and wb_put() to include/linux/backing-dev-defs.h so that they can be used from writeback.h and inode_{attach|detach}_wb() to writeback.h and page-writeback.c. This is pure reorganization and doesn't introduce any functional changes. Signed-off-by: Tejun Heo <[email protected]> Cc: Jens Axboe <[email protected]> Cc: Jan Kara <[email protected]> Cc: Wu Fengguang <[email protected]> Cc: Greg Thelen <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/buffer.c')
0 files changed, 0 insertions, 0 deletions