Re: [PATCH] smb/client: fix incorrect nlink returned by fstat()

ChenXiaoSong <[email protected]>
Newsgroups org.kernel.vger.linux-cifs
Message-ID <[email protected]>
在 2026/6/29 23:44, Steve French 写道:
> Not really, was hoping that there was a way to cache the link count
> locally as additional hardlinks are done

That would not work for hardlinks that were created before mounting, 
fstat() will not be able to return the correct nlink.

> 
> Does this fix any xfstests?

I found this issue while testing the modified xfstests generic/035.

-- 
ChenXiaoSong <[email protected]>
Chinese Homepage: https://chenxiaosong.com
English Homepage: https://chenxiaosong.com/en
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.