fs: simplify FSReqBase slightly
Replace the data_
member of FSReqBase
by a boolean flag, because
the pointer that data()
returns is already available through the
buffer_
member, and set the default size for not requiring an
extra allocation to a more reasonable value, as the input is
usually something like a file path.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines