iPXE has never supported SEEK_END; the usage of "whence" offers only the options of SEEK_SET and SEEK_CUR and so is effectively a boolean flag. Further flags will be required to support additional metadata required by the Fibre Channel network model, so repurpose the "whence" field as a generic "flags" field. xfer_seek() has always been used with SEEK_SET, so remove the "whence" field altogether from its argument list. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
85 |
|
85 |
|
86 |
|
86 |
|
87 |
|
87 |
|
88 |
|
|
|
|
88 |
|
|
89 |
|
89 |
|
90 |
|
90 |
|
91 |
|
91 |
|
|
|
||
160 |
|
160 |
|
161 |
|
161 |
|
162 |
|
162 |
|
163 |
|
|
|
|
163 |
|
|
164 |
|
164 |
|
165 |
|
165 |
|
166 |
|
166 |
|
|
|
||
105 |
|
105 |
|
106 |
|
106 |
|
107 |
|
107 |
|
108 |
|
|
|
|
108 |
|
|
109 |
|
109 |
|
110 |
|
110 |
|
111 |
|
111 |
|
|
|
||
276 |
|
276 |
|
277 |
|
277 |
|
278 |
|
278 |
|
279 |
|
|
|
280 |
|
279 |
|
281 |
|
280 |
|
282 |
|
|
|
|
281 |
|
|
283 |
|
282 |
|
284 |
|
283 |
|
|
284 |
|
|
285 |
|
285 |
|
286 |
|
|
|
287 |
|
286 |
|
288 |
|
287 |
|
289 |
|
|
|
290 |
|
|
|
|
288 |
|
|
|
289 |
|
|
291 |
|
290 |
|
292 |
|
291 |
|
293 |
|
292 |
|
|
|
||
18 |
|
18 |
|
19 |
|
19 |
|
20 |
|
20 |
|
21 |
|
|
|
22 |
|
|
|
23 |
|
|
|
24 |
|
|
|
25 |
|
|
|
26 |
|
|
|
27 |
|
21 |
|
28 |
|
22 |
|
29 |
|
|
|
30 |
|
|
|
31 |
|
|
|
|
23 |
|
|
|
24 |
|
|
|
25 |
|
|
|
26 |
|
|
|
27 |
|
|
|
28 |
|
|
|
29 |
|
|
32 |
|
30 |
|
33 |
|
|
|
|
31 |
|
|
|
32 |
|
|
|
33 |
|
|
|
34 |
|
|
|
35 |
|
|
34 |
|
36 |
|
35 |
|
|
|
|
37 |
|
|
36 |
|
38 |
|
37 |
|
39 |
|
38 |
|
40 |
|
|
|
||
41 |
|
43 |
|
42 |
|
44 |
|
43 |
|
45 |
|
44 |
|
|
|
45 |
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
|
52 |
|
|
|
53 |
|
|
|
54 |
|
|
|
55 |
|
|
|
56 |
|
|
|
|
46 |
|
|
|
47 |
|
|
57 |
|
48 |
|
58 |
|
49 |
|
59 |
|
50 |
|
|
|
||
89 |
|
80 |
|
90 |
|
81 |
|
91 |
|
82 |
|
92 |
|
|
|
|
83 |
|
|
93 |
|
84 |
|
94 |
|
85 |
|
|
|
||
223 |
|
223 |
|
224 |
|
224 |
|
225 |
|
225 |
|
226 |
|
|
|
227 |
|
|
|
|
226 |
|
|
|
227 |
|
|
228 |
|
228 |
|
229 |
|
229 |
|
230 |
|
230 |
|
|
|
||
462 |
|
462 |
|
463 |
|
463 |
|
464 |
|
464 |
|
465 |
|
|
|
|
465 |
|
|
466 |
|
466 |
|
467 |
|
467 |
|
468 |
|
468 |
|
|
|
||
526 |
|
526 |
|
527 |
|
527 |
|
528 |
|
528 |
|
529 |
|
|
|
|
529 |
|
|
530 |
|
530 |
|
531 |
|
531 |
|
532 |
|
532 |
|
|
|
||
269 |
|
269 |
|
270 |
|
270 |
|
271 |
|
271 |
|
272 |
|
|
|
273 |
|
|
|
|
272 |
|
|
|
273 |
|
|
274 |
|
274 |
|
275 |
|
275 |
|
276 |
|
276 |
|
|
|
||
854 |
|
854 |
|
855 |
|
855 |
|
856 |
|
856 |
|
857 |
|
|
|
|
857 |
|
|
858 |
|
858 |
|
859 |
|
859 |
|
860 |
|
860 |
|