[Bug 282432] p9fs: wrong name gets deleted

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 30 Oct 2024 21:48:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282432

            Bug ID: 282432
           Summary: p9fs: wrong name gets deleted
           Product: Base System
           Version: 15.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: bakul@iitbombay.org

Simple test (on a p9fs mounted filesystem)

date > foo
ln foo bar
rm bar
ls

And you will see it is file foo that gets deleted, not bar!
This doesn't happen from a linux VM so this is definitely a p9fs problem.
I suspect this has to do with wrong fid (that of foo) being used when the file
is being removed.

-- 
You are receiving this mail because:
You are the assignee for the bug.