projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: context alignment not properly handled
[lttng-modules.git]
/
lib
/
ringbuffer
/
ring_buffer_mmap.c
diff --git
a/lib/ringbuffer/ring_buffer_mmap.c
b/lib/ringbuffer/ring_buffer_mmap.c
index ec7d9530fd968544ad4ce0b5a70a1740545621ef..c172fee7cfab9e2632e68adb9c617ab8e8c2fa43 100644
(file)
--- a/
lib/ringbuffer/ring_buffer_mmap.c
+++ b/
lib/ringbuffer/ring_buffer_mmap.c
@@
-106,16
+106,23
@@
static int lib_ring_buffer_mmap_buf(struct lib_ring_buffer *buf,
return 0;
}
return 0;
}
+int lib_ring_buffer_mmap(struct file *filp, struct vm_area_struct *vma,
+ struct lib_ring_buffer *buf)
+{
+ return lib_ring_buffer_mmap_buf(buf, vma);
+}
+EXPORT_SYMBOL_GPL(lib_ring_buffer_mmap);
+
/**
/**
- * lib_ring_buffer_mmap - mmap file op
+ *
vfs_
lib_ring_buffer_mmap - mmap file op
* @filp: the file
* @vma: the vma describing what to map
*
* Calls upon lib_ring_buffer_mmap_buf() to map the file into user space.
*/
* @filp: the file
* @vma: the vma describing what to map
*
* Calls upon lib_ring_buffer_mmap_buf() to map the file into user space.
*/
-int lib_ring_buffer_mmap(struct file *filp, struct vm_area_struct *vma)
+int
vfs_
lib_ring_buffer_mmap(struct file *filp, struct vm_area_struct *vma)
{
struct lib_ring_buffer *buf = filp->private_data;
{
struct lib_ring_buffer *buf = filp->private_data;
- return lib_ring_buffer_mmap
_buf(buf, vma
);
+ return lib_ring_buffer_mmap
(filp, vma, buf
);
}
}
-EXPORT_SYMBOL_GPL(lib_ring_buffer_mmap);
+EXPORT_SYMBOL_GPL(
vfs_
lib_ring_buffer_mmap);
This page took
0.023711 seconds
and
4
git commands to generate.