diff options
| author | Zhang Xiaoxu <[email protected]> | 2022-10-17 14:45:22 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2022-10-18 16:33:43 +0000 |
| commit | 9a97df404a402fe1174d2d1119f87ff2a0ca2fe9 (patch) | |
| tree | 4a59ea5842d3d10e37f498378d6641508c49dd93 /drivers/platform/surface/aggregator/ssh_parser.c | |
| parent | cifs: Fix xid leak in cifs_create() (diff) | |
| download | kernel-9a97df404a402fe1174d2d1119f87ff2a0ca2fe9.tar.gz kernel-9a97df404a402fe1174d2d1119f87ff2a0ca2fe9.zip | |
cifs: Fix xid leak in cifs_copy_file_range()
If the file is used by swap, before return -EOPNOTSUPP, should
free the xid, otherwise, the xid will be leaked.
Fixes: 4e8aea30f775 ("smb3: enable swap on SMB3 mounts")
Reviewed-by: Paulo Alcantara (SUSE) <[email protected]>
Signed-off-by: Zhang Xiaoxu <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions
