Re: [PATCH] btrfs-progs: check: Initialize all filed of btrfs_inode_item in insert_inode_item()

2018-06-08 Thread Su Yue
On 06/08/2018 08:43 AM, Misono Tomohiro wrote: On 2018/06/07 21:22, David Sterba wrote: On Thu, Jun 07, 2018 at 11:49:58AM +0900, Misono Tomohiro wrote: Initialize all filed of btrfs_inode_item to zero in order to prevent having some garbage, especially for flags field. Have you observed

Re: [PATCH] btrfs-progs: check: Initialize all filed of btrfs_inode_item in insert_inode_item()

2018-06-07 Thread Misono Tomohiro
On 2018/06/07 21:22, David Sterba wrote: > On Thu, Jun 07, 2018 at 11:49:58AM +0900, Misono Tomohiro wrote: >> Initialize all filed of btrfs_inode_item to zero in order to prevent >> having some garbage, especially for flags field. > > Have you observed in practice or is it a matter of

Re: [PATCH] btrfs-progs: check: Initialize all filed of btrfs_inode_item in insert_inode_item()

2018-06-07 Thread David Sterba
On Thu, Jun 07, 2018 at 11:49:58AM +0900, Misono Tomohiro wrote: > Initialize all filed of btrfs_inode_item to zero in order to prevent > having some garbage, especially for flags field. Have you observed in practice or is it a matter of precaution? -- To unsubscribe from this list: send the line

[PATCH] btrfs-progs: check: Initialize all filed of btrfs_inode_item in insert_inode_item()

2018-06-06 Thread Misono Tomohiro
Initialize all filed of btrfs_inode_item to zero in order to prevent having some garbage, especially for flags field. Signed-off-by: Misono Tomohiro --- check/mode-common.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/check/mode-common.c b/check/mode-common.c index