fs: make mutating options in readdir() not affect results
#56057
+23
−0
options in readdir() not affect results
#56057