smb: client: Use min() macro
authorShen Lichuan <shenlichuan@vivo.com>
Tue, 27 Aug 2024 08:54:20 +0000 (16:54 +0800)
committerSteve French <stfrench@microsoft.com>
Sun, 15 Sep 2024 15:42:44 +0000 (10:42 -0500)
commit25e68c37caf2b87c7dbcd99c54ec3102db7e4296
tree90ec431f40457ca187d64bd5e74090ed474a8c1f
parent9290038be2f91917d384b48f85665c4498c378f3
smb: client: Use min() macro

Use the min() macro to simplify the function and improve
its readability.

Signed-off-by: Shen Lichuan <shenlichuan@vivo.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/cifsacl.c
fs/smb/client/smbdirect.c