]> git.baikalelectronics.ru Git - kernel.git/commit
blkcg: rename blkg_try_get to blkg_tryget
authorDennis Zhou (Facebook) <dennisszhou@gmail.com>
Tue, 11 Sep 2018 18:41:37 +0000 (14:41 -0400)
committerJens Axboe <axboe@kernel.dk>
Sat, 22 Sep 2018 02:29:19 +0000 (20:29 -0600)
commitd5d670a738bbb22283e2400e994795cbd7be6f52
tree95c35482f6a6b2c4fca4ab93282fc77b51cc4ca5
parent6568804fbfcb94439108d897fd2f726e8ba671a1
blkcg: rename blkg_try_get to blkg_tryget

blkg reference counting now uses percpu_ref rather than atomic_t. Let's
make this consistent with css_tryget. This renames blkg_try_get to
blkg_tryget and now returns a bool rather than the blkg or NULL.

Signed-off-by: Dennis Zhou <dennisszhou@gmail.com>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio.c
block/blk-cgroup.c
block/blk-iolatency.c
include/linux/blk-cgroup.h