[PATCH 17/23] Add ngnfs_dir_rename() and very basic debugfs command

Valerie Aurora val at versity.com
Tue Apr 8 11:45:57 PDT 2025


On Sun, Apr 6, 2025 at 7:01 AM Auke Kok <auke.kok at versity.com> wrote:
>
> There's something wrong with the new version of ngnfs_dir_rename.
>
> Previously I was able to call it with e.g. (..., 'file', cwd_ig,
> 'newfile') and it would appropriately rename the file. This now no
> longer works, so the problem is likely somewhere here:
[...]
> I can't put my finger on exactly what's not right though. Moving files
> between directories work, but any dst_name passed is also just
> ignored.

Thanks for finding this! I'm pretty sure I know the problem: I
switched to using the btree replace code, and I must not be updating
the new name of the element properly.

I'm finally writing the pathname resolutions code for debugfs so I can
easily test this bug.

Valerie



More information about the ngnfs-devel mailing list