Searched hist:"32342701 b4ba57a6fd77e8aca2f65f68c0fa1da6" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/kernel/ |
H A D | ucount.c | diff 32342701b4ba57a6fd77e8aca2f65f68c0fa1da6 Mon Oct 18 11:22:20 CDT 2021 Eric W. Biederman <ebiederm@xmission.com> ucounts: Use atomic_long_sub_return for clarity
Decrement ucounts using atomic_long_sub_return to make it clear the point is for the ucount to decrease.
Not a big deal but it should make it easier to catch bugs.
Suggested-by: Yu Zhao <yuzhao@google.com> Link: https://lkml.kernel.org/r/87k0iaqkqj.fsf_-_@disp2133 Tested-by: Yu Zhao <yuzhao@google.com> Reviewed-by: Alexey Gladkov <legion@kernel.org> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
|