aboutsummaryrefslogtreecommitdiffstats
path: root/fs/hfsplus/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/hfsplus/dir.c')
-rw-r--r--fs/hfsplus/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hfsplus/dir.c b/fs/hfsplus/dir.c
index c423942793ee..f611d55c9f5e 100644
--- a/fs/hfsplus/dir.c
+++ b/fs/hfsplus/dir.c
@@ -213,7 +213,7 @@ static int hfsplus_readdir(struct file *filp, void *dirent, filldir_t filldir)
213 err = -EIO; 213 err = -EIO;
214 goto out; 214 goto out;
215 } 215 }
216 next: 216next:
217 filp->f_pos++; 217 filp->f_pos++;
218 if (filp->f_pos >= inode->i_size) 218 if (filp->f_pos >= inode->i_size)
219 goto out; 219 goto out;