fs: improve error perf of sync chmod+fchmod
#49859
+122
−25
Closed