diff options
author | Oleg Drokin <green@linuxhacker.ru> | 2015-02-01 21:52:19 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-02-07 17:32:34 +0800 |
commit | 3a09f36efd8f0c5c5d968fbbbb0967121076a25b (patch) | |
tree | a38c2bfe8326f8ae977691bd952b3b22f62529a9 /scripts/gdb/linux/tasks.py | |
parent | 431b567856875536c7f574f30cd870d758aa6c2f (diff) |
staging/lustre/mdc: Initialize req in mdc_enqueue for !it case
Commit ab909585b813 ("staging: lustre: Cleanup variable declarations
in mdc_enqueue()") broke Lustre flock handling introducing access
to uninitialized req variable, leading to bizzare crash in a later
call to __req_capsule_offset with invalid pill value.
Set req to NULL just for this case as in all other cases req is
explicitly initialized with request packing call.
Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
CC: Srikrishan Malik <srikrishanmalik@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions