summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTrond Myklebust <trondmy@gmail.com>2019-11-01 01:40:33 +0300
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2019-11-01 18:03:56 +0300
commit79cc55422ce99be5964bde208ba8557174720893 (patch)
tree4158ef1314feac72c6d39d21564860a137e2abde /include
parentbe3df3dd4c70ee020587a943a31b98a0fb4b6424 (diff)
downloadlinux-79cc55422ce99be5964bde208ba8557174720893.tar.xz
NFS: Fix an RCU lock leak in nfs4_refresh_delegation_stateid()
A typo in nfs4_refresh_delegation_stateid() means we're leaking an RCU lock, and always returning a value of 'false'. As the function description states, we were always supposed to return 'true' if a matching delegation was found. Fixes: 12f275cdd163 ("NFSv4: Retry CLOSE and DELEGRETURN on NFS4ERR_OLD_STATEID.") Cc: stable@vger.kernel.org # v4.15+ Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions