diff options
-rw-r--r-- | fs/9p/vfs_dir.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/9p/vfs_dir.c b/fs/9p/vfs_dir.c index 873cd31baa47..cae53d405f21 100644 --- a/fs/9p/vfs_dir.c +++ b/fs/9p/vfs_dir.c | |||
@@ -90,6 +90,7 @@ static int v9fs_dir_readdir(struct file *filp, void *dirent, filldir_t filldir) | |||
90 | if (err <= 0) | 90 | if (err <= 0) |
91 | break; | 91 | break; |
92 | 92 | ||
93 | i = 0; | ||
93 | n = err; | 94 | n = err; |
94 | while (i < n) { | 95 | while (i < n) { |
95 | err = p9stat_read(statbuf + i, buflen-i, &st, | 96 | err = p9stat_read(statbuf + i, buflen-i, &st, |