diff options
author | Dave Jiang <dave.jiang@intel.com> | 2021-06-24 22:08:21 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-07-14 09:58:15 +0300 |
commit | ac24a2dc06cd773895d2fba0378c2538b8176565 (patch) | |
tree | a715cab346de6447bb79f38b3271b93e7926a8a0 /scripts/get_feat.pl | |
parent | 53499d1fc11267e078557fc68ce943c1eb3b7a37 (diff) | |
download | linux-ac24a2dc06cd773895d2fba0378c2538b8176565.tar.xz |
dmaengine: idxd: add missing percpu ref put on failure
When enqcmds() fails, exit path is missing a percpu_ref_put(). This can
cause failure on shutdown path when the driver is attempting to quiesce the
wq. Add missing percpu_ref_put() call on the error exit path.
Fixes: 93a40a6d7428 ("dmaengine: idxd: add percpu_ref to descriptor submission path")
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/162456170168.1121236.7240941044089212312.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'scripts/get_feat.pl')
0 files changed, 0 insertions, 0 deletions