aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorHelge Deller <[email protected]>2016-04-08 16:32:52 +0000
committerHelge Deller <[email protected]>2016-04-08 20:14:14 +0000
commit2ef4dfd9d9f288943e249b78365a69e3ea3ec072 (patch)
treeb2add375348d201853d93329c144159cf45b96ae /fs/btrfs/dev-replace.c
parentparisc: Fix kernel crash with reversed copy_from_user() (diff)
downloadkernel-2ef4dfd9d9f288943e249b78365a69e3ea3ec072.tar.gz
kernel-2ef4dfd9d9f288943e249b78365a69e3ea3ec072.zip
parisc: Unbreak handling exceptions from kernel modules
Handling exceptions from modules never worked on parisc. It was just masked by the fact that exceptions from modules don't happen during normal use. When a module triggers an exception in get_user() we need to load the main kernel dp value before accessing the exception_data structure, and afterwards restore the original dp value of the module on exit. Noticed-by: Mikulas Patocka <[email protected]> Signed-off-by: Helge Deller <[email protected]> Cc: [email protected]
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions