query about create_mnt_ns

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I was looking at implementation of init_mount_tree() function and
found a discrepancy in list manipulation of mnt_namsespace and
vfsmount across kernel version 2.6.30. Up till kernel version
2.6.30.x, vfsmount structure was added to the list headed by
mnt_namespace structure just allocated:

list_add(&mnt->mnt_list, &ns->list);

Beyond that with the introduction of function create_mnt_ns(), it does
reverse of previous behavior:

list_add(&new_ns->list, &mnt->mnt_list);

i.e. it is adding new mnt_namespace to the vfsmount list. Is this the
expected behavior? i.e. do we want to maintain list of namespaces per
mount? Please let me know if I am missing something here.

-Rajat
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux