Files
linux/fs
Pali Rohár e4c886dd24 cifs: Remove intermediate object of failed create reparse call
[ Upstream commit c9432ad5e32f066875b1bf95939c363bc46d6a45 ]

If CREATE was successful but SMB2_OP_SET_REPARSE failed then remove the
intermediate object created by CREATE. Otherwise empty object stay on the
server when reparse call failed.

This ensures that if the creating of special files is unsupported by the
server then no empty file stay on the server as a result of unsupported
operation.

Fixes: 102466f303ff ("smb: client: allow creating special files via reparse points")
Signed-off-by: Pali Rohár <pali@kernel.org>
Acked-by: Paulo Alcantara (Red Hat) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-10-10 11:57:20 +02:00
..
2024-08-19 06:04:25 +02:00
2024-09-08 07:54:46 +02:00
2024-08-03 08:54:22 +02:00
2023-08-31 12:07:34 -05:00
2024-08-29 17:33:33 +02:00
2024-08-19 06:04:25 +02:00
2024-02-23 09:25:13 +01:00
2023-08-08 19:36:51 +02:00
2023-08-21 13:46:25 -07:00
2023-08-14 18:48:02 +02:00
2023-08-19 12:12:12 +02:00
2023-08-02 09:13:09 -06:00
2023-07-13 10:28:04 +02:00
2024-07-05 09:34:04 +02:00
2023-08-15 08:32:45 +02:00
2024-08-19 06:04:25 +02:00