]> git.baikalelectronics.ru Git - 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)
commit0d1f8408f420c6b90ea56fe4f8146ff193b79caa
treef91af371cfe570476ba301a33bcb4c3780c430b1
parent42f311dfe60e8d94bdb6ea91f229b35717c9d2e3
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