Fixed a dumb bug.

geesefs-0-30-9
Aaron Jacobs 2015-07-29 10:12:59 +10:00
parent 339bc03e5e
commit 5296835c1f
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@ func (in *inode) ReadDir(p []byte, offset int) (n int) {
}
tmp := fuseutil.WriteDirent(p[n:], in.entries[i])
if n == 0 {
if tmp == 0 {
break
}