summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fb.com>2017-12-16 03:42:57 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2017-12-17 20:47:32 +0100
commit46df3d209db080395a98fc0875bd05e45e8f44e0 (patch)
treef9a0fcd0e875ddaa5bf6317a2937d568e8417d07 /fs/btrfs/disk-io.c
parentnfp: set flags in the correct member of netdev_bpf (diff)
downloadlinux-46df3d209db080395a98fc0875bd05e45e8f44e0.tar.xz
linux-46df3d209db080395a98fc0875bd05e45e8f44e0.zip
trace: reenable preemption if we modify the ip
Things got moved around between the original bpf_override_return patches and the final version, and now the ftrace kprobe dispatcher assumes if you modified the ip that you also enabled preemption. Make a comment of this and enable preemption, this fixes the lockdep splat that happened when using this feature. Fixes: 9802d86585db ("bpf: add a bpf_override_function helper") Signed-off-by: Josef Bacik <jbacik@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'fs/btrfs/disk-io.c')
0 files changed, 0 insertions, 0 deletions