Projects STRLCPY criu Commits 12423abd
🤬
  • mount: allow bindmounts for external fuse mounts

    Currently we only allow external fuse mount itself, let's allow
    bindmount for it too. Other mount code is ready for this change and will
    be able to bindmount it from corresponding external mount.
    
    Signed-off-by: Pavel Tikhomirov <[email protected]>
  • Loading...
  • Pavel Tikhomirov committed with Andrei Vagin 1 year ago
    12423abd
    1 parent 65407616
  • ■ ■ ■ ■ ■
    criu/filesystems.c
    skipped 546 lines
    547 547   }
    548 548   
    549 549   for (it = mntinfo; it; it = it->next) {
    550  - if (it->fstype->code == FSTYPE__FUSE && id == kdev_minor(it->s_dev) && !it->external) {
     550 + if (it->fstype->code == FSTYPE__FUSE && id == kdev_minor(it->s_dev) &&
     551 + !mnt_is_external_bind(it)) {
    551 552   pr_err("%s is a fuse mount but not external\n", it->ns_mountpoint);
    552 553   goto out;
    553 554   }
    skipped 335 lines
Please wait...
Page is in error, reload to recover