diff options
author | Alex Elder <elder@inktank.com> | 2013-03-01 18:00:16 -0600 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-05-01 21:16:35 -0700 |
commit | 9516e45b25d9967c35d2e798496ec5e590aaa24f (patch) | |
tree | d5020891abe591d1821129ce15db8d0e797c1a21 /fs/ceph | |
parent | 35c7bfbcd4fabded090e5ab316a1cbf053a0a980 (diff) | |
download | kernel_goldelico_gta04-9516e45b25d9967c35d2e798496ec5e590aaa24f.zip kernel_goldelico_gta04-9516e45b25d9967c35d2e798496ec5e590aaa24f.tar.gz kernel_goldelico_gta04-9516e45b25d9967c35d2e798496ec5e590aaa24f.tar.bz2 |
libceph: simplify new message initialization
Rather than explicitly initializing many fields to 0, NULL, or false
in a newly-allocated message, just use kzalloc() for allocating new
messages. This will become a much more convenient way of doing
things anyway for upcoming patches that abstract the data field.
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'fs/ceph')
0 files changed, 0 insertions, 0 deletions