@@ -587,7 +587,7 @@ int mount_all(const char *dest,
587587 if (!ro && (bool )(mount_table [k ].mount_settings & MOUNT_APPLY_APIVFS_RO ))
588588 continue ;
589589
590- r = chase_symlinks (mount_table [k ].where , dest , CHASE_NON_EXISTING |CHASE_PREFIX_ROOT , & where );
590+ r = chase_symlinks (mount_table [k ].where , dest , CHASE_NONEXISTENT |CHASE_PREFIX_ROOT , & where );
591591 if (r < 0 )
592592 return log_error_errno (r , "Failed to resolve %s/%s: %m" , dest , mount_table [k ].where );
593593
@@ -686,7 +686,7 @@ static int mount_bind(const char *dest, CustomMount *m) {
686686 if (stat (m -> source , & source_st ) < 0 )
687687 return log_error_errno (errno , "Failed to stat %s: %m" , m -> source );
688688
689- r = chase_symlinks (m -> destination , dest , CHASE_PREFIX_ROOT |CHASE_NON_EXISTING , & where );
689+ r = chase_symlinks (m -> destination , dest , CHASE_PREFIX_ROOT |CHASE_NONEXISTENT , & where );
690690 if (r < 0 )
691691 return log_error_errno (r , "Failed to resolve %s/%s: %m" , dest , m -> destination );
692692 if (r > 0 ) { /* Path exists already? */
@@ -748,7 +748,7 @@ static int mount_tmpfs(
748748 assert (dest );
749749 assert (m );
750750
751- r = chase_symlinks (m -> destination , dest , CHASE_PREFIX_ROOT |CHASE_NON_EXISTING , & where );
751+ r = chase_symlinks (m -> destination , dest , CHASE_PREFIX_ROOT |CHASE_NONEXISTENT , & where );
752752 if (r < 0 )
753753 return log_error_errno (r , "Failed to resolve %s/%s: %m" , dest , m -> destination );
754754 if (r == 0 ) { /* Doesn't exist yet? */
@@ -789,7 +789,7 @@ static int mount_overlay(const char *dest, CustomMount *m) {
789789 assert (dest );
790790 assert (m );
791791
792- r = chase_symlinks (m -> destination , dest , CHASE_PREFIX_ROOT |CHASE_NON_EXISTING , & where );
792+ r = chase_symlinks (m -> destination , dest , CHASE_PREFIX_ROOT |CHASE_NONEXISTENT , & where );
793793 if (r < 0 )
794794 return log_error_errno (r , "Failed to resolve %s/%s: %m" , dest , m -> destination );
795795 if (r == 0 ) { /* Doesn't exist yet? */
0 commit comments