diff options
| author | 2020-02-12 17:54:07 +0800 | |
|---|---|---|
| committer | 2020-02-14 09:16:03 -0800 | |
| commit | 06e33595e96f212811066df192ae8bf802174296 (patch) | |
| tree | a1c0a7ebc534dc4597dbd73f45266fe1ffb22e4d /fs/jbd2/commit.c | |
| parent | char: virtio: Replace zero-length array with flexible-array member (diff) | |
| download | wireguard-linux-06e33595e96f212811066df192ae8bf802174296.tar.xz wireguard-linux-06e33595e96f212811066df192ae8bf802174296.zip | |
misc: Use kzalloc() instead of kmalloc() with flag GFP_ZERO.
Use kzalloc instead of manually setting kmalloc
with flag GFP_ZERO since kzalloc sets allocated memory
to zero.
Signed-off-by: Huang Zijiang <huang.zijiang@zte.com.cn>
Signed-off-by: Yi Wang <wang.yi59@zte.com.cn>
Link: https://lore.kernel.org/r/1581501247-5479-1-git-send-email-wang.yi59@zte.com.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
