void-packages/srcpkgs/yaboot/patches/0001-xfs-support.patch

12 lines
281 B
Diff

--- a/second/fs_xfs.c
+++ b/second/fs_xfs.c
@@ -661,8 +661,6 @@
startpos = xfs_file->pos;
endpos = xfs_file->pos + len;
- if (endpos > xfs_file->len)
- endpos = xfs_file->len;
endofprev = (xfs_fileoff_t)-1;
init_extents ();
while (len > 0 && (xad = next_extent ())) {