From: Chuck Lever <chuck.lever@xxxxxxxxxx> On Mon, 16 Dec 2024 22:21:51 +0800, Yang Erkun wrote: > After f8c989a0c89a ("nfsd: release svc_expkey/svc_export with > rcu_work"), svc_export_put/expkey_put will call path_put with async > mode. This can lead some unexpected failure: > > mkdir /mnt/sda > mkfs.xfs -f /dev/sda > echo "/ *(rw,no_root_squash,fsid=0)" > /etc/exports > echo "/mnt *(rw,no_root_squash,fsid=1)" >> /etc/exports > exportfs -ra > service nfs-server start > mount -t nfs -o vers=4.0 127.0.0.1:/mnt /mnt1 > mount /dev/sda /mnt/sda > touch /mnt1/sda/file > exportfs -r > umount /mnt/sda # failed unexcepted > > [...] Applied to nfsd-fixes for v6.13, thanks! [1/5] nfsd: Revert "nfsd: release svc_expkey/svc_export with rcu_work" commit: 69d803c40edeaf94089fbc8751c9b746cdc35044 -- Chuck Lever