diff options
author | Christoph Hellwig <hch@lst.de> | 2022-09-21 21:04:49 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-09-27 04:09:31 +0300 |
commit | f753526e327bc849c445c084d0f374e992038ae9 (patch) | |
tree | c27a5b9517059afbd651744999bf73add92fb07e /.gitignore | |
parent | 4a69f325aa43847e0827fbfe4b3623307b0c9baa (diff) | |
download | linux-f753526e327bc849c445c084d0f374e992038ae9.tar.xz |
blk-cgroup: remove blkg_lookup_check
The combinations of an error check with an ERR_PTR return and a lookup
with a NULL return leads to ugly handling of the return values in the
callers. Just open coding the check and the lookup is much simpler.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Andreas Herrmann <aherrmann@suse.de>
Acked-by: Tejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20220921180501.1539876-6-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions