ksmbd: Replace the ternary conditional operator with min()
authorLu Hongfei <luhongfei@vivo.com>
Fri, 9 Jun 2023 05:06:36 +0000 (13:06 +0800)
committerSteve French <stfrench@microsoft.com>
Mon, 26 Jun 2023 05:07:04 +0000 (00:07 -0500)
commitf65fadb0422537d73f9a6472861852dc2f7a6a5b
tree79560228477a4af85cf991478fa170b6febf2647
parent81a94b27847f7d2e499415db14dd9dc7c22b19b0
ksmbd: Replace the ternary conditional operator with min()

It would be better to replace the traditional ternary conditional
operator with min() in compare_sids.

Signed-off-by: Lu Hongfei <luhongfei@vivo.com>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/server/smbacl.c