]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
writeback: add wbc_to_write_flags()
authorJens Axboe <axboe@fb.com>
Tue, 1 Nov 2016 16:00:38 +0000 (10:00 -0600)
committerJens Axboe <axboe@fb.com>
Wed, 2 Nov 2016 16:24:03 +0000 (10:24 -0600)
commit7637241e651ec36e409412869f986dd5f097735f
treef91af371cfe570476ba301a33bcb4c3780c430b1
parent1d796d6a9641fbfcd90fcfaf6fb4894a13d0304f
writeback: add wbc_to_write_flags()

Add wbc_to_write_flags(), which returns the write modifier flags to use,
based on a struct writeback_control. No functional changes in this
patch, but it prepares us for factoring other wbc fields for write type.

Signed-off-by: Jens Axboe <axboe@fb.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/buffer.c
fs/f2fs/data.c
fs/f2fs/node.c
fs/gfs2/meta_io.c
fs/mpage.c
fs/xfs/xfs_aops.c
include/linux/writeback.h
mm/page_io.c