Skip to content

Commit 50bda5f

Browse files
committed
Merge tag 'nfs-for-5.7-2' of git://git.linux-nfs.org/projects/trondmy/linux-nfs
Pull NFS client bugfix from Trond Myklebust: "Fix an RCU read lock leakage in pnfs_alloc_ds_commits_list()" * tag 'nfs-for-5.7-2' of git://git.linux-nfs.org/projects/trondmy/linux-nfs: pNFS: Fix RCU lock leakage
2 parents b032227 + 27d231c commit 50bda5f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/nfs/pnfs_nfs.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -501,6 +501,7 @@ pnfs_alloc_ds_commits_list(struct list_head *list,
501501
rcu_read_lock();
502502
pnfs_put_commit_array(array, cinfo->inode);
503503
}
504+
rcu_read_unlock();
504505
return ret;
505506
}
506507

0 commit comments

Comments
 (0)