Hello. I posted this message three months ago at kernelnewbies-ml, but no answer. Now reposting at fsdevel-ml. > In the function __d_path() at http://lxr.linux.no/source/fs/dcache.c#L1354 , > "vfsmnt->mnt_parent" "vfsmnt->mnt_mountpoint" "vfsmnt->mnt_parent" > are protected by spin_lock(&vfsmount_lock), while "vfsmnt->mnt_root" is not. > > In the function do_move_mount() at http://lxr.linux.no/source/fs/namespace.c#L695 , > "old_nd.mnt->mnt_root" is protected by spin_lock(&vfsmount_lock). > > Is spin_lock(&vfsmount_lock) unnecessary for referring "vfsmnt->mnt_root" ? In other words, don't we need to protect vfsmnt->mnt_root at http://lxr.linux.no/source/fs/dcache.c#L1383 using vfsmount_lock ? Regards. - 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