From: Oleg Drokin Date: Mon, 2 Feb 2015 02:52:19 +0000 (-0500) Subject: staging/lustre/mdc: Initialize req in mdc_enqueue for !it case X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~83^2~11 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a09f36efd8f0c5c5d968fbbbb0967121076a25b;p=pandora-kernel.git 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 CC: Srikrishan Malik Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed