cifs: Use help macro to get the mid header size
authorZhang Xiaoxu <zhangxiaoxu5@huawei.com>
Tue, 23 Aug 2022 12:52:01 +0000 (20:52 +0800)
committerSteve French <stfrench@microsoft.com>
Thu, 25 Aug 2022 03:30:04 +0000 (22:30 -0500)
commitb6b3624d016b980f917b46e6b964f943ac5ac56e
tree9e4f32f4d9907a54ba5287606763b395bb036ce7
parent9789de8bdc92a9ec95c9bc7b43e94de91acc4460
cifs: Use help macro to get the mid header size

It's better to use MID_HEADER_SIZE because the unfolded expression
too long. No actual functional changes, minor readability improvement.

Signed-off-by: Zhang Xiaoxu <zhangxiaoxu5@huawei.com>
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifsglob.h
fs/cifs/connect.c