Fsnamespacec

for (p = source_mnt; p; p = next_mnt(p, source_mnt)) set_mnt_shared(p);

Finally, the kernel needs to finish the mount process by calling mnt_set_mountpoint and commit_tree to introduce the changes into the data structures as discussed for regular mounts. Note, however, that commit_tree needs to be called for every mount that has been propagated to shared peers or slave mounts (mnt_set_mountpoint for these mounts has already been called in propagate_mnt):

Continue reading here: The umount System Call

Was this article helpful?

0 0