]> www.infradead.org Git - users/hch/xfs.git/commit
NFS: Avoid unnecessary rescanning of the per-server delegation list
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 21 Aug 2024 18:05:02 +0000 (14:05 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 22 Aug 2024 21:01:10 +0000 (17:01 -0400)
commitf92214e4c312f6ea9d78650cc6291d200f17abb6
treef3d2aec841d540435a780ffb2b2a35eefff0ed27
parentd72b7963115bea971a28eaa2cb76722c023f9fdf
NFS: Avoid unnecessary rescanning of the per-server delegation list

If the call to nfs_delegation_grab_inode() fails, we will not have
dropped any locks that require us to rescan the list.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/delegation.c