diff options
author | Tony Battersby <tonyb@cybernetics.com> | 2018-07-12 16:30:45 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-08-06 16:18:22 +0200 |
commit | bced7cbdcc36743e357480f067cea89d97c10e3d (patch) | |
tree | 038813765b05f3fabd3d1a8318e52227aac1fdd5 /Documentation/this_cpu_ops.txt | |
parent | 9d61d4bdf223006219b182c8e473ae7dc127b74b (diff) | |
download | linux-stable-bced7cbdcc36743e357480f067cea89d97c10e3d.tar.gz linux-stable-bced7cbdcc36743e357480f067cea89d97c10e3d.tar.bz2 linux-stable-bced7cbdcc36743e357480f067cea89d97c10e3d.zip |
scsi: sg: fix minor memory leak in error path
commit c170e5a8d222537e98aa8d4fddb667ff7a2ee114 upstream.
Fix a minor memory leak when there is an error opening a /dev/sg device.
Fixes: cc833acbee9d ("sg: O_EXCL and other lock handling")
Cc: <stable@vger.kernel.org>
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Signed-off-by: Tony Battersby <tonyb@cybernetics.com>
Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/this_cpu_ops.txt')
0 files changed, 0 insertions, 0 deletions