summaryrefslogtreecommitdiffstats
path: root/fs/sysv
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2021-10-16 14:05:34 -0500
committerEric W. Biederman <ebiederm@xmission.com>2021-10-20 10:45:34 -0500
commitda70d3109e74adf6ae9f8d1f6c7c0c9735d314ba (patch)
treedd7eb1eef0114f31f39de85906ad9ebae955fe37 /fs/sysv
parent5fc9e37cd5ae762b856912cdedb226a884b3c3e0 (diff)
downloadlinux-da70d3109e74adf6ae9f8d1f6c7c0c9735d314ba.tar.bz2
ucounts: Add get_ucounts_or_wrap for clarity
Add a helper function get_ucounts_or_wrap that is a trivial wrapper around atomic_add_negative, that makes it clear how atomic_add_negative is used in the context of ucounts. Link: https://lkml.kernel.org/r/87pms2qkr9.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 'fs/sysv')
0 files changed, 0 insertions, 0 deletions