commit | f56753ac2a90810726334df04d735e9f8f5a32d9 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu Sep 24 08:51:40 2020 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Sep 24 13:43:39 2020 -0600 |
tree | 80c7e4178e880cc0c5fa35d4c7974dc77584e61b | |
parent | 823423ef55f4d9c470b1edc9c5b5c93d06abfaae [diff] |
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> Signed-off-by: Jens Axboe <axboe@kernel.dk>