Message ID | 1468621541-31024-4-git-send-email-mathieu.poirier@linaro.org |
---|---|
State | New |
Headers | show |
diff --git a/kernel/events/core.c b/kernel/events/core.c index b9aa8f0ff070..b0bf00c728c2 100644 --- a/kernel/events/core.c +++ b/kernel/events/core.c @@ -6498,7 +6498,7 @@ got_name: */ static bool perf_addr_filter_needs_mmap(struct perf_addr_filter *filter) { - return filter->filter && filter->inode; + return filter->inode; } /*
At this time function perf_addr_filter_needs_mmap() will _not_ return true on a user space 'stop' filter. But stop filters needs exactly the same kind of mapping that range and start filters get. Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> --- kernel/events/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4