Zhang Xiaoxu 575e079c78 cifs: Fix xid leak in cifs_flock()
If not flock, before return -ENOLCK, should free the xid,
otherwise, the xid will be leaked.

Fixes: d0677992d2af ("cifs: add support for flock")
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Zhang Xiaoxu <zhangxiaoxu5@huawei.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
2022-10-18 11:33:43 -05:00
..
2022-09-14 04:00:06 -05:00
2022-10-18 11:33:43 -05:00
2022-10-18 11:33:43 -05:00
2022-01-19 11:21:08 -06:00
2022-10-14 12:35:25 -05:00
2019-01-24 09:37:33 -06:00
2022-10-10 09:10:28 -07:00
2021-04-25 16:28:23 -05:00