Re: [PATCH v1 0/2] smb: client: fix unmount busy dentry/inode races on openFileList
From: Paulo Alcantara
Date: Thu Nov 19 2026 - 08:47:10 EST
Siddharth Chintamaneni <sidchintamaneni@xxxxxxxxx> writes:
> This series fixes two unmount races in cifs_kill_sb() where background
> paths walk tcon->openFileList while wait_var_event() is waiting on
> cifs_sb->outstanding_rreq and take new cifsFileInfo references that
> outlive the wait, causing busy dentry/inode warnings and panics in
> generic_shutdown_super():
>
> - Patch 1 counts queued oplock/lease breaks in cifs_sb->outstanding_rreq
> from cifs_queue_oplock_break() until cifs_oplock_break() completes.
> - Patch 2 counts persistent handle reopens in cifs_sb->outstanding_rreq
> in cifs_reopen_persistent_handles() until cifsFileInfo_put() drops the
> handle reference.
> ...
Applied.