sysfs: handle failure path correctly for readdir()
sysfs: fix race between readdir and lseek
1
2