[Bug 218822] Delete the file from the upper layer directly, the file will become "Stale"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



--- Comment #1 from Squall.Zhou@xxxxxxxxxx ---
1. The issue has also been reproduced on:
29~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr  4 14:39:20 UTC 2 x86_64 x86_64
x86_64 GNU/Linux 

~:mount -t overlay -o  lowerdir=etc,upperdir=upper,workdir=work overlay etc 
~:~/overlaytest$ touch etc/a 
rm upper/a 
rm etc/a 
rm: cannot remove 'etc/a': Stale file handle 

2. But not reproduced on WSL(Ubuntu 20.04.6)
Squall.Zhou[~/over1]:mkdir etc
mkdir upper
mkdir work
sudo mount -t overlay -o  lowerdir=etc,upperdir=upper,workdir=work overlay etc
sudo touch etc/a
sudo rm upper/a
sudo rm etc/a
rm: cannot remove 'etc/a': No such file or directory
Squall.Zhou[~/over]:uname -a
Linux PC3203 4.4.0-22621-Microsoft #2506-Microsoft Fri Jan 01 08:00:00 PST 2016
x86_64 x86_64 x86_64 GNU/Linux

You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux