summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2021-10-18 19:22:20 +0300
committerEric W. Biederman <ebiederm@xmission.com>2021-10-20 18:45:34 +0300
commit32342701b4ba57a6fd77e8aca2f65f68c0fa1da6 (patch)
tree1c26835ca75bfe43efe4ad4bf88b6bdc15abcd1d /drivers
parentda70d3109e74adf6ae9f8d1f6c7c0c9735d314ba (diff)
downloadlinux-32342701b4ba57a6fd77e8aca2f65f68c0fa1da6.tar.xz
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>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions