Re: [hackers] [sbase][PATCH] du: Dedup hardlinks

From: Roberto E. Vargas Caballero <k0ga_AT_shike2.net>
Date: Wed, 19 Mar 2025 18:34:35 +0100

Hi,

Quoth remph <lhr_AT_disroot.org>:
> +struct device {
> + dev_t devno;
> + void * inodetree;
> +};
> +

I can see that you define a device struct, that contains a inode
table, but I think it is just easier to create a struct like:

        struct file {
                dev_t dev;
                ino_t inode;
        };


and adjust the compare function to use both fields. Am I missing
something?

Regards,
Received on Wed Mar 19 2025 - 18:34:35 CET

This archive was generated by hypermail 2.3.0 : Wed Mar 19 2025 - 18:36:38 CET