projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42375c2
)
NFSv4/pNFS: Remove redundant call to unhash the layout
author
Trond Myklebust
<trond.myklebust@hammerspace.com>
Thu, 13 Jun 2024 05:00:54 +0000
(
01:00
-0400)
committer
Anna Schumaker
<Anna.Schumaker@Netapp.com>
Mon, 8 Jul 2024 17:47:26 +0000
(13:47 -0400)
The layout will be automatically unhashed on final release of the
reference count.
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/pnfs.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/pnfs.c
b/fs/nfs/pnfs.c
index c482088cb485ccbe3648c7a5a6aa7c4f0c6d432f..31df5fae7acb19e6f391d3347b4f404bf2c5a450 100644
(file)
--- a/
fs/nfs/pnfs.c
+++ b/
fs/nfs/pnfs.c
@@
-858,8
+858,6
@@
pnfs_layout_bulk_destroy_byserver_locked(struct nfs_client *clp,
break;
inode = pnfs_grab_inode_layout_hdr(lo);
if (inode != NULL) {
- if (test_and_clear_bit(NFS_LAYOUT_HASHED, &lo->plh_flags))
- list_del_rcu(&lo->plh_layouts);
if (pnfs_layout_add_bulk_destroy_list(inode,
layout_list))
continue;