]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: don't reset i_delayed_blks in xfs_iread
authorChristoph Hellwig <hch@lst.de>
Mon, 10 Aug 2020 20:32:06 +0000 (16:32 -0400)
committerEric Sandeen <sandeen@sandeen.net>
Mon, 10 Aug 2020 20:32:06 +0000 (16:32 -0400)
commitf6e757aafcc1111e29aeecbf26c04301e525819a
treed33da1f591fff6a8b0af9ae92490d3ab7fb03e93
parentd1eeae6b0b1b2ae0ae62910c2f2d74cc4ebbb726
xfs: don't reset i_delayed_blks in xfs_iread

Source kernel commit: 7f0290123506e2b248fe06fa7cdc17c1b5b603b5

i_delayed_blks is set to 0 in xfs_inode_alloc and can't have anything
assigned to it until the inode is visible to the VFS.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_inode_buf.c