| To: | xfs-list <linux-xfs@xxxxxxxxxxx> |
|---|---|
| Subject: | hardlink overflow |
| From: | Eric Mei <ericm@xxxxxxxxxxxxxxxxxxxx> |
| Date: | Sat, 07 Sep 2002 16:46:28 +0800 |
| Sender: | linux-xfs-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1b) Gecko/20020722 |
Hi, recently I noticed XFS's strange behaviour on hardlink. i_nlink is defined as "unsigned short" in kernel, although xfs_dinode_core defined it as "unint32". it seems linux-XFS didn't check it's overflow. simply add 65536 hardlink to a file will make their nlink to 0. I'm using latest 2.4.19 CVS version. Best Wishs Eric |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | TAKE - Backport kmem_cache_size from 2.5, Eric Sandeen |
|---|---|
| Next by Date: | TAKE - v2 log, Nathan Scott |
| Previous by Thread: | TAKE - Backport kmem_cache_size from 2.5, Eric Sandeen |
| Next by Thread: | Re: hardlink overflow, Chris Wedgwood |
| Indexes: | [Date] [Thread] [Top] [All Lists] |