Commit e144d53c authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFS/localio: nfs_close_local_fh() fix check for file closed



If the struct nfs_file_localio is closed, its list entry will be empty,
but the nfs_uuid->files list might still contain other entries.

Acked-by: default avatarMike Snitzer <snitzer@kernel.org>
Tested-by: default avatarMike Snitzer <snitzer@kernel.org>
Reviewed-by: default avatarNeilBrown <neil@brown.name>
Fixes: 21fb4403 ("nfs_localio: protect race between nfs_uuid_put() and nfs_close_local_fh()")
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent b9defd61
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment