Commit 39898f0
committed
Merge tag '6.12-rc-ksmbd-server-fixes-part1' of git://git.samba.org/ksmbd
Pull smb server updates from Steve French:
"Four ksmbd server fixes, three for stable:
- Fix an issue where the directory can't be deleted if the share is
on a file system that does not provide dot and dotdot entries
- Fix file creation failure if the parent name of pathname is case
sensitive
- Fix write failure with FILE_APPEND_DATA flags
- Add reference count to connection struct to protect UAF of oplocks
on multichannel"
* tag '6.12-rc-ksmbd-server-fixes-part1' of git://git.samba.org/ksmbd:
ksmbd: handle caseless file creation
ksmbd: make __dir_empty() compatible with POSIX
ksmbd: add refcnt to ksmbd_conn struct
ksmbd: allow write with FILE_APPEND_DATAFile tree
5 files changed
+31
-51
lines changed- fs/smb/server
5 files changed
+31
-51
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| 72 | + | |
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
109 | 110 | | |
110 | 111 | | |
111 | 112 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
124 | 125 | | |
125 | 126 | | |
126 | 127 | | |
| 128 | + | |
| 129 | + | |
127 | 130 | | |
128 | 131 | | |
129 | 132 | | |
| |||
163 | 166 | | |
164 | 167 | | |
165 | 168 | | |
166 | | - | |
167 | 169 | | |
168 | | - | |
169 | 170 | | |
170 | 171 | | |
171 | 172 | | |
| |||
177 | 178 | | |
178 | 179 | | |
179 | 180 | | |
180 | | - | |
| 181 | + | |
181 | 182 | | |
182 | | - | |
183 | | - | |
184 | 183 | | |
185 | 184 | | |
186 | 185 | | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | 186 | | |
201 | 187 | | |
202 | 188 | | |
| |||
1127 | 1113 | | |
1128 | 1114 | | |
1129 | 1115 | | |
1130 | | - | |
1131 | | - | |
1132 | | - | |
| 1116 | + | |
1133 | 1117 | | |
1134 | | - | |
1135 | 1118 | | |
1136 | 1119 | | |
1137 | | - | |
| 1120 | + | |
1138 | 1121 | | |
1139 | 1122 | | |
1140 | 1123 | | |
| |||
1167 | 1150 | | |
1168 | 1151 | | |
1169 | 1152 | | |
1170 | | - | |
1171 | | - | |
1172 | | - | |
| 1153 | + | |
1173 | 1154 | | |
1174 | | - | |
1175 | 1155 | | |
1176 | | - | |
| 1156 | + | |
1177 | 1157 | | |
1178 | 1158 | | |
1179 | 1159 | | |
| |||
1252 | 1232 | | |
1253 | 1233 | | |
1254 | 1234 | | |
1255 | | - | |
| 1235 | + | |
1256 | 1236 | | |
1257 | 1237 | | |
1258 | 1238 | | |
| |||
1262 | 1242 | | |
1263 | 1243 | | |
1264 | 1244 | | |
1265 | | - | |
| 1245 | + | |
1266 | 1246 | | |
1267 | 1247 | | |
1268 | 1248 | | |
1269 | 1249 | | |
1270 | 1250 | | |
1271 | | - | |
| 1251 | + | |
1272 | 1252 | | |
1273 | 1253 | | |
1274 | 1254 | | |
1275 | 1255 | | |
1276 | 1256 | | |
1277 | | - | |
| 1257 | + | |
1278 | 1258 | | |
1279 | 1259 | | |
1280 | 1260 | | |
| |||
1337 | 1317 | | |
1338 | 1318 | | |
1339 | 1319 | | |
1340 | | - | |
| 1320 | + | |
1341 | 1321 | | |
1342 | 1322 | | |
1343 | 1323 | | |
1344 | 1324 | | |
1345 | 1325 | | |
1346 | 1326 | | |
1347 | | - | |
| 1327 | + | |
1348 | 1328 | | |
1349 | 1329 | | |
1350 | 1330 | | |
| |||
1376 | 1356 | | |
1377 | 1357 | | |
1378 | 1358 | | |
1379 | | - | |
1380 | | - | |
1381 | | - | |
| 1359 | + | |
1382 | 1360 | | |
1383 | | - | |
1384 | 1361 | | |
1385 | 1362 | | |
1386 | 1363 | | |
| |||
1411 | 1388 | | |
1412 | 1389 | | |
1413 | 1390 | | |
1414 | | - | |
| 1391 | + | |
1415 | 1392 | | |
1416 | 1393 | | |
1417 | 1394 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
496 | 496 | | |
497 | 497 | | |
498 | 498 | | |
499 | | - | |
| 499 | + | |
500 | 500 | | |
501 | 501 | | |
502 | 502 | | |
| |||
1115 | 1115 | | |
1116 | 1116 | | |
1117 | 1117 | | |
1118 | | - | |
| 1118 | + | |
| 1119 | + | |
1119 | 1120 | | |
1120 | | - | |
| 1121 | + | |
1121 | 1122 | | |
1122 | 1123 | | |
1123 | 1124 | | |
| |||
1137 | 1138 | | |
1138 | 1139 | | |
1139 | 1140 | | |
1140 | | - | |
| 1141 | + | |
1141 | 1142 | | |
1142 | 1143 | | |
1143 | 1144 | | |
| |||
1166 | 1167 | | |
1167 | 1168 | | |
1168 | 1169 | | |
1169 | | - | |
| 1170 | + | |
1170 | 1171 | | |
1171 | 1172 | | |
1172 | 1173 | | |
| |||
1234 | 1235 | | |
1235 | 1236 | | |
1236 | 1237 | | |
1237 | | - | |
1238 | | - | |
1239 | | - | |
1240 | | - | |
| 1238 | + | |
1241 | 1239 | | |
1242 | 1240 | | |
1243 | 1241 | | |
| |||
1280 | 1278 | | |
1281 | 1279 | | |
1282 | 1280 | | |
1283 | | - | |
1284 | | - | |
1285 | 1281 | | |
1286 | 1282 | | |
| 1283 | + | |
1287 | 1284 | | |
1288 | 1285 | | |
1289 | 1286 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
863 | 863 | | |
864 | 864 | | |
865 | 865 | | |
| 866 | + | |
| 867 | + | |
866 | 868 | | |
867 | 869 | | |
868 | 870 | | |
| |||
965 | 967 | | |
966 | 968 | | |
967 | 969 | | |
| 970 | + | |
968 | 971 | | |
969 | 972 | | |
970 | 973 | | |
| |||
0 commit comments