tagged_items.c: length should be rounded up when adding item
authorEric Biggers <ebiggers3@gmail.com>
Sun, 14 Dec 2014 01:40:02 +0000 (19:40 -0600)
committerEric Biggers <ebiggers3@gmail.com>
Sun, 14 Dec 2014 04:43:31 +0000 (22:43 -0600)
commit5731558efd18b5199e0b63de16cf6b11a652104e
tree272354357889de9eb1e9b14e20ad9cd716efad20
parentd1957f2c442d2f5529521e8e8dc26a3fdf720c80
tagged_items.c: length should be rounded up when adding item

Also 0-fill the new item, including the padding.

These changes have no effect on the only caller of
inode_add_tagged_item() but should be made for correctness in case this
function gets more callers in the future.
src/tagged_items.c