set file offset when seeking over end
set file offset when seeking over end

The proposed change sets the file offset to the file's end when the file size is smaller than the expected seek index. This allows to use seek to put the file location to a certain position or the end.
pellepl/spiffs,pellepl/spiffs