mirror of https://github.com/schoebel/mars
main: safeguard start_sync
This commit is contained in:
parent
a539fd3b48
commit
2635ffe15d
|
@ -4840,7 +4840,9 @@ static int make_sync(void *buf, struct mars_dent *dent)
|
|||
bool do_start;
|
||||
int status;
|
||||
|
||||
if (!dent->d_parent || !dent->new_link) {
|
||||
if (!dent->d_parent ||
|
||||
!dent->d_parent->d_private ||
|
||||
!dent->new_link) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue