On Thu, Dec 01, 2022 at 02:58:00PM +0800, xiubli@xxxxxxxxxx wrote: > From: Xiubo Li <xiubli@xxxxxxxxxx> > > When close a file it will be deferred to call the fput(), which > will hold the inode's i_count. And when unmounting the mountpoint > the evict_inodes() may skip evicting some inodes. > > If encrypt is enabled the kernel generate a warning when removing > the encrypt keys when the skipped inodes still hold the keyring: This does not make sense. Unmounting is only possible once all the files on the filesystem have been closed. - Eric