https://bugzilla.kernel.org/show_bug.cgi?id=218822 Bug ID: 218822 Summary: Delete the file from the upper layer directly, the file will become "Stale" Product: File System Version: 2.5 Hardware: All OS: Linux Status: NEW Severity: normal Priority: P3 Component: ext4 Assignee: fs_ext4@xxxxxxxxxxxxxxxxxxxx Reporter: Squall.Zhou@xxxxxxxxxx Regression: No The FS mount as following: /dev/sda7 on / type ext4 (rw,relatime) /dev/sda5 on /persistent type ext4 (rw,relatime) overlay on /etc type overlay (rw,relatime,lowerdir=/sysroot/etc,upperdir=/sysroot/persistent/platform/B/etc/upper,workdir=/sysroot/persistent/platform/B/etc/work) 1. I touched a file named "A" on /etc 2. I remove the file "A" from "/persistent/platform/B/etc/upper" 3. The file "A" in /etc will become "Stale" root@exs1610ada83b:~ [B]# touch /etc/A root@exs1610ada83b:~ [B]# rm /persistent/platform/B/etc/upper/A root@exs1610ada83b:~ [B]# rm /etc/A rm: can't remove '/etc/A': Stale file handle Linux version: root@exs1610ada83b:~ [B]# uname -a Linux exs1610ada83b 5.10.184-intel-pk-standard #1 SMP PREEMPT Sun Jun 25 06:48:28 UTC 2023 x86_64 GNU/Linux Thought, the /etc/A will be removed also. -- You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.