blk-cgroup: don't update the blkg lookup hint in blkg_conf_prep
authorChristoph Hellwig <hch@lst.de>
Tue, 27 Sep 2022 06:54:25 +0000 (08:54 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 27 Sep 2022 17:50:05 +0000 (11:50 -0600)
commit5765033cf77c54897848df683420bb62b6cc3d05
tree15ae842e84983808842f3b1ad47397093d3a7370
parent8237c01f1696bc53c470493bf1fe092a107648a6
blk-cgroup: don't update the blkg lookup hint in blkg_conf_prep

blkg_conf_prep just creates a new blkg structure, there is no real
need to update the lookup hint which should only be done on a
successful lookup in the I/O path.

Suggested-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Tejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20220927065425.257876-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-cgroup.c