9p: move dirread to fs layer
authorEric Van Hensbergen <ericvh@gmail.com>
Tue, 14 Oct 2008 01:36:15 +0000 (20:36 -0500)
committerEric Van Hensbergen <ericvh@gmail.com>
Fri, 17 Oct 2008 16:04:43 +0000 (11:04 -0500)
commit06b55b464ee5b305aca75cb7d9424b184bf07f68
treefb2bba4546ad4b800f1e49a75774b01fc6fcdb6b
parentdfb0ec2e13a906ff19a0bbfa9208caab50cfc2e3
9p: move dirread to fs layer

Currently reading a directory is implemented in the client code.
This function is not actually a wire operation, but a meta operation
which calls read operations and processes the results.

This patch moves this functionality to the fs layer and calls component
wire operations instead of constructing their packets.  This provides a
cleaner separation and will help when we reorganize the client functions
and protocol processing methods.

Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
fs/9p/vfs_dir.c
include/net/9p/client.h
net/9p/client.c