Commit ed0925d
committed
Fix deletion of ReparsePoints that aren't mountpoints
rmdir of junctions should be allowed, but we do want to
stop the mountpoints from being deleted (without unmounting)
and that test was too coarse. Now we only prohibit removal
of mountpoints.
Signed-off-by: Jorgen Lundman <lundman@lundman.net>1 parent 5632ca6 commit ed0925d
5 files changed
Lines changed: 41 additions & 4 deletions
File tree
- include/os/windows/spl/sys
- module/os/windows
- spl
- zfs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| 179 | + | |
179 | 180 | | |
180 | 181 | | |
181 | 182 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4237 | 4237 | | |
4238 | 4238 | | |
4239 | 4239 | | |
| 4240 | + | |
| 4241 | + | |
| 4242 | + | |
| 4243 | + | |
| 4244 | + | |
| 4245 | + | |
| 4246 | + | |
| 4247 | + | |
| 4248 | + | |
| 4249 | + | |
| 4250 | + | |
4240 | 4251 | | |
4241 | 4252 | | |
4242 | 4253 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3447 | 3447 | | |
3448 | 3448 | | |
3449 | 3449 | | |
3450 | | - | |
3451 | | - | |
3452 | | - | |
3453 | | - | |
| 3450 | + | |
| 3451 | + | |
| 3452 | + | |
| 3453 | + | |
3454 | 3454 | | |
3455 | 3455 | | |
3456 | 3456 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2264 | 2264 | | |
2265 | 2265 | | |
2266 | 2266 | | |
| 2267 | + | |
| 2268 | + | |
| 2269 | + | |
| 2270 | + | |
| 2271 | + | |
2267 | 2272 | | |
2268 | 2273 | | |
2269 | 2274 | | |
| |||
0 commit comments