projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: __lttng_vmalloc_node_range const caller introduced in v3.6
[lttng-modules.git]
/
lib
/
ringbuffer
/
ring_buffer_iterator.c
diff --git
a/lib/ringbuffer/ring_buffer_iterator.c
b/lib/ringbuffer/ring_buffer_iterator.c
index 9efe49194f7d4b1efd11883f407fb1f979a8f2db..d25db72502756b96a7bc3d65ebb33da635436023 100644
(file)
--- a/
lib/ringbuffer/ring_buffer_iterator.c
+++ b/
lib/ringbuffer/ring_buffer_iterator.c
@@
-11,6
+11,7
@@
#include <wrapper/ringbuffer/iterator.h>
#include <wrapper/file.h>
#include <wrapper/ringbuffer/iterator.h>
#include <wrapper/file.h>
+#include <wrapper/uaccess.h>
#include <linux/jiffies.h>
#include <linux/delay.h>
#include <linux/module.h>
#include <linux/jiffies.h>
#include <linux/delay.h>
#include <linux/module.h>
@@
-605,7
+606,7
@@
ssize_t channel_ring_buffer_file_read(struct file *filp,
ssize_t len;
might_sleep();
ssize_t len;
might_sleep();
- if (!access_ok(VERIFY_WRITE, user_buf, count))
+ if (!
lttng_
access_ok(VERIFY_WRITE, user_buf, count))
return -EFAULT;
/* Finish copy of previous record */
return -EFAULT;
/* Finish copy of previous record */
This page took
0.024027 seconds
and
4
git commands to generate.