Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 189482
b: refs/heads/master
c: 85a770a
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Eric Van Hensbergen committed Apr 5, 2010
1 parent 9e2bdcd commit 5819e4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 11e9b49b7fa056bfc00a56de8956d1d5fe8b84ea
refs/heads/master: 85a770a8889035625466a4cfb1393cd7d2ffd165
2 changes: 2 additions & 0 deletions trunk/fs/9p/vfs_dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ static int v9fs_dir_readdir(struct file *filp, void *dirent, filldir_t filldir)
rdir = (struct p9_rdir *) fid->rdir;

err = mutex_lock_interruptible(&rdir->mutex);
if (err)
return err;
while (err == 0) {
if (rdir->tail == rdir->head) {
err = v9fs_file_readn(filp, rdir->buf, NULL,
Expand Down

0 comments on commit 5819e4f

Please sign in to comment.