actually, I just realized - I don't have struct file for that, all I have
is 'struct super_block' from where I got 'struct dentry' as
's_root->d_covers' thereof. So, I need to presumably go through vfsmntlist
and find 'struct vfsmount' with the mnt_sb matching my given sb.
Shouldn't there be a generic function that would find 'struct vfsmount'
by given 'struct super_block' and that should worry about locking/walking
vfsmntlist? like find_vfsmnt(sb)? Or should one keep a pointer s_vfsmnt
in 'struct super_block'?
Comments?
Regards,
Tigran
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/