OSDN Git Service

pNFS: Fix RCU lock leakage
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 11 Apr 2020 15:37:18 +0000 (11:37 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 11 Apr 2020 15:42:35 +0000 (11:42 -0400)
commit27d231c0c63bb619997a24bab85d54d90ca71110
tree518dcc0dc20f9eaf042341b073671283af124831
parent93ce4af774bc3d8a72ce2271d03241c96383629d
pNFS: Fix RCU lock leakage

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 <trond.myklebust@hammerspace.com>
fs/nfs/pnfs_nfs.c