]> err.no Git - systemd/commit
remove MS_* which can not be combined with current kernel code
authorKay Sievers <kay@vrfy.org>
Wed, 18 Apr 2012 11:37:45 +0000 (13:37 +0200)
committerKay Sievers <kay@vrfy.org>
Wed, 18 Apr 2012 11:37:45 +0000 (13:37 +0200)
commit4d46fec56db73e1d2d01076792f9b8f3231d5cb1
tree38646280a97bda3d437b37b3c590db9dfd4266f1
parent5ba2dc259f3cdd8fddef68cfd28380a32534e49a
remove MS_* which can not be combined with current kernel code

MS_BIND|MS_MOVE can not be combined:
  do_mount()
    else if (flags & MS_BIND)
      do_loopback(&path, dev_name, flags & MS_REC);
    [...]
    else if (flags & MS_MOVE)
      do_move_mount(&path, dev_name);

MS_REMOUNT|MS_UNBINDABLE can not be combined:
  do_mount()
    if (flags & MS_REMOUNT)
      do_remount(&path, flags & ~MS_REMOUNT, mnt_flags, data_page);
    [...]
    else if (flags & (MS_SHARED | MS_PRIVATE | MS_SLAVE | MS_UNBINDABLE))
      do_change_type(&path, flags);
src/core/namespace.c
src/nspawn/nspawn.c