Commit 50bda5fa authored by Linus Torvalds's avatar Linus Torvalds

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
parents b032227c 27d231c0
...@@ -501,6 +501,7 @@ pnfs_alloc_ds_commits_list(struct list_head *list, ...@@ -501,6 +501,7 @@ pnfs_alloc_ds_commits_list(struct list_head *list,
rcu_read_lock(); rcu_read_lock();
pnfs_put_commit_array(array, cinfo->inode); pnfs_put_commit_array(array, cinfo->inode);
} }
rcu_read_unlock();
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment