GNU bug report logs -
#29092
Bug related to 64-bit inodes
Previous Next
Full log
Message #23 received at 29092 <at> debbugs.gnu.org (full text, mbox):
On Fri, Jan 5, 2018 at 8:27 PM, Jim Meyering <jim <at> meyering.net> wrote:
> On Mon, Dec 18, 2017 at 8:36 PM, Jim Meyering <jim <at> meyering.net> wrote:
>> On Mon, Dec 18, 2017 at 3:31 PM, Curt McDowell <csm <at> purestorage.com> wrote:
>>> Jim,
>>>
>>> Thanks for getting to this. I applied the patch and was surprised to see it
>>> still has the same bug! There is another comparison function that needs
>>> fixing. I verified that 64-bit inodes work properly with this additional
>>> change:
>>>
>>> static int
>>> dev_ino_hash_compare (void const *x, void const *y)
>>> {
>>> int result;
>>> result = memcmp(&((struct dev_ino const *) x)->di_ino,
>>> &((struct dev_ino const *) y)->di_ino, sizeof (ino_t));
>>> if (result)
>>> return result;
>>> result = memcmp(&((struct dev_ino const *) x)->di_dev,
>>> &((struct dev_ino const *) y)->di_dev, sizeof (ino_t));
>>> return result;
>>> }
>>
>> Thank you for the quick testing and patch.
>>
>> I've simplified that but left it in your name. However, since it's
>> still in your name, yet modified, I'll wait for your ACK before
>> pushing (check both author-name+email and wording of the commit log as
>> well as the actual patch, since we treat master-pushed commits as
>> immutable):
>
> Ping?
Pushed, in spite of no reply.
This bug report was last modified 7 years and 131 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.