chiark / gitweb /
tree-wide: stop using canonicalize_file_name(), use chase_symlinks() instead
[elogind.git] / src / core / mount-setup.c
index c551fa62b2838e066081815c701e27d85cefb15e..7dfaf27df773f408b95c8ed41eb02be877965cf6 100644 (file)
@@ -174,7 +174,7 @@ static int mount_one(const MountPoint *p, bool relabel) {
         if (relabel)
                 (void) label_fix(p->where, true, true);
 
-        r = path_is_mount_point(p->where, AT_SYMLINK_FOLLOW);
+        r = path_is_mount_point(p->where, NULL, AT_SYMLINK_FOLLOW);
         if (r < 0 && r != -ENOENT) {
                 log_full_errno((p->mode & MNT_FATAL) ? LOG_ERR : LOG_DEBUG, r, "Failed to determine whether %s is a mount point: %m", p->where);
                 return (p->mode & MNT_FATAL) ? r : 0;