Two sparse fixes from Yuxuan Shui.
authorWayne Davison <wayne@opencoder.net>
Mon, 25 May 2020 21:01:52 +0000 (14:01 -0700)
committerWayne Davison <wayne@opencoder.net>
Mon, 25 May 2020 21:01:52 +0000 (14:01 -0700)
commit888ce058d8bf82acdf33d5d94419533332ff04fd
tree3952a2b03e873c0c74db8f21d6a3e9f5a9de2592
parentc394e861845682d23b6dd6b9114d763fc8c493a8
Two sparse fixes from Yuxuan Shui.

- Make "len" parameter of do_punch_hole an OFF_T.
- Clear sparse_past_write in sparse_end(), otherwise when write_sparse()
  is called for the next file, do_punch_hole() will be called with a pos
  that's not actually the current position in file, causing it to fail.
fileio.c
syscall.c