summaryrefslogtreecommitdiff
path: root/drivers/parport
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2017-02-08 11:29:46 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-12 06:37:30 +0100
commit52fb4bdcea4c0e1b81ed06641083e83ac53f6284 (patch)
tree554640a2ca556d758a4190ccd2113ad9001d9986 /drivers/parport
parent3ee4f442e5b37a537297b812557b1163f96b5399 (diff)
NFSv4: Fix memory and state leak in _nfs4_open_and_get_state
commit a974deee477af89411e0f80456bfb344ac433c98 upstream. If we exit because the file access check failed, we currently leak the struct nfs4_state. We need to attach it to the open context before returning. Fixes: 3efb9722475e ("NFSv4: Refactor _nfs4_open_and_get_state..") Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/parport')
0 files changed, 0 insertions, 0 deletions