diff options
author | Eryu Guan <eguan@redhat.com> | 2017-09-18 11:38:58 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-09-25 18:22:30 -0700 |
commit | 64671bafbdd984535aa382bccadd91fbe7be0e80 (patch) | |
tree | 1abb1c2b61dbd13e4877463136e92a3843d3b0c0 /fs/stack.c | |
parent | e150dcd459e1b441eaf08f341a986f04e61bf3b8 (diff) | |
download | linux-64671bafbdd984535aa382bccadd91fbe7be0e80.tar.bz2 |
xfs: kill meaningless variable 'zero'
In xfs_file_aio_write_checks(), variable 'zero' is there only to
satisfy xfs_zero_eof(), the result of it is ignored. Now, with
iomap_zero_range() based xfs_zero_eof(), we can safely pass NULL as
the last param of it and kill 'zero'.
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>
Diffstat (limited to 'fs/stack.c')
0 files changed, 0 insertions, 0 deletions