diff options
author | Zhao Lei <zhaolei@cn.fujitsu.com> | 2015-09-08 21:16:50 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2015-09-09 17:43:05 +0200 |
commit | f248b10786c50892d31eba11f97eb3433daedb2d (patch) | |
tree | d78e03f5a286b181274c6c1a5164ceba88ce145e /ctree.h | |
parent | 537fb08026e87fed472666a8b0fa212b3df4c30b (diff) |
btrfs-progs: Avoid uninitialized data in output of btrfs-convert
The sequence, transid and reserved fields of inode were writen to disk
with uninitizlized value, this patch fixes it.
Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'ctree.h')
-rw-r--r-- | ctree.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1424,6 +1424,8 @@ BTRFS_SETGET_STACK_FUNCS(stack_inode_generation, struct btrfs_inode_item, generation, 64); BTRFS_SETGET_STACK_FUNCS(stack_inode_sequence, struct btrfs_inode_item, sequence, 64); +BTRFS_SETGET_STACK_FUNCS(stack_inode_transid, + struct btrfs_inode_item, transid, 64); BTRFS_SETGET_STACK_FUNCS(stack_inode_size, struct btrfs_inode_item, size, 64); BTRFS_SETGET_STACK_FUNCS(stack_inode_nbytes, |