projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
9p: fix a small bug in readdir for long directories
[deliverable/linux.git]
/
fs
/
9p
/
vfs_dir.c
diff --git
a/fs/9p/vfs_dir.c
b/fs/9p/vfs_dir.c
index 873cd31baa47c6c77022918665a5f343d93f8425..cae53d405f215c1bf9be13b7cd3fa9ba2937828d 100644
(file)
--- 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)
if (err <= 0)
break;
+ i = 0;
n = err;
while (i < n) {
err = p9stat_read(statbuf + i, buflen-i, &st,
This page took
0.042571 seconds
and
5
git commands to generate.