projects
/
kernel
/
swap-modules.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
764e8f4
)
[FIX] Use proper structure in FILE_PROBE_INITIALIZER
03/44503/4
author
Vyacheslav Cherkashin
<v.cherkashin@samsung.com>
Wed, 22 Jul 2015 15:28:33 +0000
(18:28 +0300)
committer
Dmitry Kovalenko
<d.kovalenko@samsung.com>
Thu, 23 Jul 2015 09:10:54 +0000
(
02:10
-0700)
Wrong structure used during initialization leads to allocation
of less memory than will actually be used.
Change file_private by flock_private.
Change-Id: I2d9951ff11066c13f838c8d7c04b176bbed6d7b5
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
ks_features/file_ops.c
patch
|
blob
|
history
diff --git
a/ks_features/file_ops.c
b/ks_features/file_ops.c
index
0c4b82f
..
e0fd724
100644
(file)
--- a/
ks_features/file_ops.c
+++ b/
ks_features/file_ops.c
@@
-150,7
+150,7
@@
static struct file_probe fprobes[] = {
#define X(_name, _args) \
[id_##_name] = __FILE_PROBE_INITIALIZER(_name, _args, FOPS_OTHER, \
- struct f
ile
_private, \
+ struct f
lock
_private, \
lock_entry_handler, \
lock_ret_handler)
FILE_OPS_LOCK_LIST