9P2010.L handshake: Remove "dotu" variable
[firefly-linux-kernel-4.4.55.git] / fs / 9p / vfs_dir.c
index 15cce53bf61e7832e92fd8fbc72f08f220a8084a..6580aa4495414bd33a2d260eec8eb95c2bc0a59e 100644 (file)
@@ -135,7 +135,7 @@ static int v9fs_dir_readdir(struct file *filp, void *dirent, filldir_t filldir)
                while (rdir->head < rdir->tail) {
                        err = p9stat_read(rdir->buf + rdir->head,
                                                buflen - rdir->head, &st,
-                                               fid->clnt->dotu);
+                                               fid->clnt->proto_version);
                        if (err) {
                                P9_DPRINTK(P9_DEBUG_VFS, "returned %d\n", err);
                                err = -EIO;