aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorGavin Shan <[email protected]>2016-06-24 04:49:02 +0000
committerMichael Ellerman <[email protected]>2016-06-28 10:47:49 +0000
commitcca0e542e02e48cce541a49c4046ec094ec27c1e (patch)
tree825a4ef32f7229ccffbc452823faf1246e50ad56 /fs/jbd2/commit.c
parentpowerpc/tm: Always reclaim in start_thread() for exec() class syscalls (diff)
downloadkernel-cca0e542e02e48cce541a49c4046ec094ec27c1e.tar.gz
kernel-cca0e542e02e48cce541a49c4046ec094ec27c1e.zip
powerpc/eeh: Fix wrong argument passed to eeh_rmv_device()
When calling eeh_rmv_device() in eeh_reset_device() for partial hotplug case, @rmv_data instead of its address is the proper argument. Otherwise, the stack frame is corrupted when writing to @rmv_data (actually its address) in eeh_rmv_device(). It results in kernel crash as observed. This fixes the issue by passing @rmv_data, not its address to eeh_rmv_device() in eeh_reset_device(). Fixes: 67086e32b564 ("powerpc/eeh: powerpc/eeh: Support error recovery for VF PE") Reported-by: Pridhiviraj Paidipeddi <[email protected]> Signed-off-by: Gavin Shan <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions