From: Jens Axboe Date: Fri, 24 Jul 2015 18:37:59 +0000 (-0600) Subject: block: manipulate bio->bi_flags through helpers X-Git-Tag: omap-for-v4.3/fixes-rc1~114^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7c44ed9d2fc6b461378c65eaf144ccc80a47772;p=pandora-kernel.git block: manipulate bio->bi_flags through helpers Some places use helpers now, others don't. We only have the 'is set' helper, add helpers for setting and clearing flags too. It was a bit of a mess of atomic vs non-atomic access. With BIO_UPTODATE gone, we don't have any risk of concurrent access to the flags. So relax the restriction and don't make any of them atomic. The flags that do have serialization issues (reffed and chained), we already handle those separately. Signed-off-by: Jens Axboe --- Reading git-diff-tree failed