Quoting Sukadev Bhattiprolu ([email protected]):
> |  static int mqueue_get_sb(struct file_system_type *fs_type,
> |                      int flags, const char *dev_name,
> |                      void *data, struct vfsmount *mnt)
> |  {
> | -   return get_sb_single(fs_type, flags, data, mqueue_fill_super, mnt);
> | +   if (flags & MS_KERNMOUNT)
> | +           return get_sb_single_ns(fs_type, flags, data,
> | +                                   mqueue_fill_super, mnt);
> | +   return get_sb_single_ns(fs_type, flags, current->nsproxy->ipc_ns,
> | +                           mqueue_fill_super, mnt);
> 
> nit. This maybe easier to read with an ns local variable and a single
> call to get_sb_single_ns().

The first time I read this I completely misunderstood what you
meant.  Yes, that's nicer.  Thanks for taking a look.

New version coming tomorrow (I want to stress this a bit).

thanks,
-serge
_______________________________________________
Containers mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/containers

_______________________________________________
Devel mailing list
[email protected]
https://openvz.org/mailman/listinfo/devel

Reply via email to