9p: fix a small bug in readdir for long directories
authorMartin Stava <martin.stava@gmail.com>
Mon, 2 Nov 2009 14:39:35 +0000 (08:39 -0600)
committerEric Van Hensbergen <ericvh@gmail.com>
Mon, 2 Nov 2009 14:43:44 +0000 (08:43 -0600)
commitf91b90993f0d286be89f06c2f547ced8cfe291c6
tree556667dabcd184b7713101c3bb456142fc645642
parentb6727b12dd2ffb4a890eb5b13a298230c29ba45d
9p: fix a small bug in readdir for long directories

Here is a proposed patch for bug in readdir. Listing of dirs with
many files fails without this patch.

Signed-off-by: Martin Stava <martin.stava@gmail.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
fs/9p/vfs_dir.c