]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: report zeroed or not correctly in xfs_zero_range()
authorEryu Guan <eguan@redhat.com>
Mon, 18 Sep 2017 18:39:23 +0000 (11:39 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 26 Sep 2017 01:22:30 +0000 (18:22 -0700)
commit4e97581579633b70797cb6edbb3970636cf1749f
treeb678068255d0b42b544e39a95166f41795a5993c
parent6a5b6e750055867715ca9482b09e12ac02633048
xfs: report zeroed or not correctly in xfs_zero_range()

The 'did_zero' param of xfs_zero_range() was not passed to
iomap_zero_range() correctly. This was introduced by commit
8236ef8f0559 ("xfs: handle 64-bit length in xfs_iozero"), and found
by code inspection.

Signed-off-by: Eryu Guan <eguan@redhat.com>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_file.c