diff options
author | David Sterba <dsterba@suse.com> | 2017-06-12 17:29:39 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-06-19 18:26:03 +0200 |
commit | 184f999e12152d1b1f284792ba4e82ef453ce7b7 (patch) | |
tree | 211f05d1eaa5497ddc42c6dee814c3df4f7762d5 /fs/nfsd/xdr4cb.h | |
parent | fa1bcbe0a54c67a293c557a21641565516c96a8f (diff) | |
download | op-kernel-dev-184f999e12152d1b1f284792ba4e82ef453ce7b7.zip op-kernel-dev-184f999e12152d1b1f284792ba4e82ef453ce7b7.tar.gz |
btrfs: add helper to initialize the non-bio part of btrfs_io_bio
We use btrfs_bioset for bios and ask to allocate the entire size of
btrfs_io_bio from btrfs bio_alloc_bioset. The member 'bio' is
initialized but the bytes from 0 to offset of 'bio' are left
uninitialized. Although we initialize some of the members in our
helpers, we should initialize the whole structures.
Reviewed-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/nfsd/xdr4cb.h')
0 files changed, 0 insertions, 0 deletions