[Bug 196405] mkdir mishandles st_nlink in ext4 directory with 64997 subdirectories

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

 



https://bugzilla.kernel.org/show_bug.cgi?id=196405

--- Comment #22 from Theodore Tso (tytso@xxxxxxx) ---
Right, the fact that the two bugs that Michael cited was about the st_nlinks
being "wrong" is in fact a good thing.  Paul is asserting that there is vast
amount of breakage because ext4 can return an st_nlinks value of 1 on a
directory, to the extent that he believes we should withdrawing the dir_nlinks
feature.   My argument is if we've lived with this for ten years without users
screaming about things being broken, then we're probably ok and we should fix
this by changing the documentation.   Paul then responded by pointing out the
bugs.  But if the bugs are about st_nlinks being "wrong" causing users to be
confused, and not about real life use cases breaking, then I'm going to be much
less concerned.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.



[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux