I wanted to share this link about the difference between vfsmount and 
super_block for the benefit of anyone else following this thread.

www.faqs.org/docs/kernel_2_4/lki-3.html

"3.5 Superblock and Mountpoint Management
Under Linux, information about mounted filesystems is kept in two 
separate structures - super_block and vfsmount. The reason for this is 
that Linux allows to mount the same filesystem (block device) under 
multiple mount points, which means that the same super_block can 
correspond to multiple vfsmount structures."


sf...@users.sourceforge.net wrote:
>>> BTW I think it makes more sense to make the overlap error change in the 
>>> test_overlap function in branch.c than in dcsub.c where I previously 
>>> indicated.
>>>
>>>     if (h_d1->d_sb != h_d2->d_sb) return 0;
>>>       
>> Agreed.
>> I will add it next release.
>>     
>
> Ah, we should compare vfsmount mount instead of super_block.
>
>
> J. R. Okajima
>   


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first

Reply via email to