pNFS: Fix RCU lock leakage
Subsystems (2)
[email protected]
maintainerPATCH 1/1 pNFS: Fix RCU lock leakage
From: Trond Myklebust <[email protected]>
Another brown paper bag moment. pnfs_alloc_ds_commits_list() is leaking the RCU lock.
Fixes a9901899b649 ("pNFS: Add infrastructure for cleaning up per-layout commit structures")
Signed-off-by Trond Myklebust <[email protected]>
--- fs/nfs/pnfs_nfs.c | 1 + 1 file changed, 1 insertion(+)
fs/nfs/pnfs_nfs.c +1 -0
@@ -501,6 +501,7 @@ pnfs_alloc_ds_commits_list(struct list_head *list,rcu_read_lock ();pnfs_put_commit_array (array, cinfo->inode); } +rcu_read_unlock ();return ret; }
Signature · 1 line
2.25.2