Ondrej Oprala wrote:
> Hi, here's the amended patch.
...
> Subject: [PATCH] du: Fix an issue with bogus warnings on bind-mounted
>  directories
>
> * NEWS: Mention the fix.
> * src/du.c: Include "mountlist.h".
>   (di_mnt): New global set.
>   (fill_mount_table): New function.
>   (hash_ins): Add HT parameter.
>   (process_file): Look up each dir dev/ino pair in the new set.
>   (main): Allocate, initialize, and free the new set.
> * tests/Makefile.am: Add a new file.
> * tests/du/bind-mount-dir-cycle: Add a test for the fix.
> ---
>  NEWS              |  3 +++
>  src/du.c          | 61 
> ++++++++++++++++++++++++++++++++++++++++++++++++++++---
>  tests/Makefile.am |  1 +
>  3 files changed, 62 insertions(+), 3 deletions(-)

Oops.  You omitted the new file, tests/du/bind-mount-dir-cycle.

Reply via email to