]> www.infradead.org Git - users/hch/block.git/commit
bdi: replace BDI_CAP_NO_{WRITEBACK,ACCT_DIRTY} with a single flag bdi-cleanups
authorChristoph Hellwig <hch@lst.de>
Mon, 20 Jul 2020 07:12:32 +0000 (09:12 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 24 Sep 2020 06:29:20 +0000 (08:29 +0200)
commitcf9eb4d046bd24351ccc4dd1ea018ca88b90036a
tree80c7e4178e880cc0c5fa35d4c7974dc77584e61b
parent116e5e31cb88fc482c56b641979b055ea3624181
bdi: replace BDI_CAP_NO_{WRITEBACK,ACCT_DIRTY} with a single flag

Replace the two negative flags that are always used together with a
single positive flag that indicates the writeback capability instead
of two related non-capabilities.  Also remove the pointless wrappers
to just check the flag.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
fs/9p/vfs_file.c
fs/fs-writeback.c
include/linux/backing-dev.h
mm/backing-dev.c
mm/filemap.c
mm/memcontrol.c
mm/memory-failure.c
mm/migrate.c
mm/mmap.c
mm/page-writeback.c