]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: use common helper instead of open coding a bit test
authorDavid Sterba <dsterba@suse.com>
Fri, 21 Sep 2018 12:26:34 +0000 (14:26 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 15 Oct 2018 15:23:35 +0000 (17:23 +0200)
commitaa933bcc10b0bec7f3244364f5d0d27198adcb95
treef2d95505a0f9ec09399cd98fa788e3b48bdbb0de
parent3c6015440b280fff773467d72f769723ce66879b
btrfs: use common helper instead of open coding a bit test

The helper does the same math and we take care about the special case
when flags is 0 too.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c