]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: consistently initialize di_flags2
authorChristoph Hellwig <hch@lst.de>
Mon, 29 Mar 2021 18:11:37 +0000 (11:11 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 7 Apr 2021 21:37:02 +0000 (14:37 -0700)
commitbb73f81d237549020b7cd8c7f7d19a101cc21e0a
tree99511e5a0a7764dc31e98a65e68895c06f9b213f
parent6d3620c6572e2fe8d89001262379e324d6491ba5
xfs: consistently initialize di_flags2

Make sure di_flags2 is always initialized.  We currently get this implicitly
by clearing the dinode core on allocating the in-core inode, but that is
about to go away.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/xfs_icache.c
fs/xfs/xfs_inode.c