fs: fix length
option being ignored during read()
#40906
Merged
length
option being ignored during read()
#40906