diff options
author | Julia Lawall <julia@diku.dk> | 2010-05-11 20:28:14 +0200 |
---|---|---|
committer | Joel Becker <joel.becker@oracle.com> | 2010-05-18 21:31:10 +0200 |
commit | 3914ed0cec6532ab4feb202424fc95ad05024497 (patch) | |
tree | 034377b0e2cf83e3a6fca5883ea8e4e5191a469a /fs/ocfs2/alloc.h | |
parent | Ocfs2: Optimize punching-hole code. (diff) | |
download | linux-3914ed0cec6532ab4feb202424fc95ad05024497.tar.xz linux-3914ed0cec6532ab4feb202424fc95ad05024497.zip |
fs/ocfs2/dlm: Drop memory allocation cast
Drop cast on the result of kmalloc and similar functions.
The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)
// <smpl>
@@
type T;
@@
- (T *)
(\(kmalloc\|kzalloc\|kcalloc\|kmem_cache_alloc\|kmem_cache_zalloc\|
kmem_cache_alloc_node\|kmalloc_node\|kzalloc_node\)(...))
// </smpl>
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs/ocfs2/alloc.h')
0 files changed, 0 insertions, 0 deletions