Message ID | alpine.DEB.2.00.0911162335580.25436@bicker (mailing list archive) |
---|---|
State | Superseded, archived |
Delegated to: | Eric Van Hensbergen |
Headers | show |
--- orig/fs/9p/vfs_dir.c 2009-11-16 23:30:12.000000000 +0200 +++ devel/fs/9p/vfs_dir.c 2009-11-16 23:33:23.000000000 +0200 @@ -121,6 +121,8 @@ 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,