diff options
author | Eric Van Hensbergen <ericvh@gmail.com> | 2008-10-13 20:36:16 -0500 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@gmail.com> | 2008-10-17 11:04:43 -0500 |
commit | fbedadc16e5c888e4df9df3b1757de4993508d35 (patch) | |
tree | c477daf52f7a8aa2c2a0c9902b1711b6c2d32833 /fs/9p/v9fs_vfs.h | |
parent | 0fc9655ec67ec5d4dfd08e469e0e9f0a494bf5bc (diff) | |
download | lwn-fbedadc16e5c888e4df9df3b1757de4993508d35.tar.gz lwn-fbedadc16e5c888e4df9df3b1757de4993508d35.zip |
9p: move readn meta-function from client to fs layer
There are a couple of methods in the client code which aren't actually
wire operations. To keep things organized cleaner, these operations are
being moved to the fs layer.
This patch moves the readn meta-function (which executes multiple wire
reads until a buffer is full) to the fs layer.
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'fs/9p/v9fs_vfs.h')
-rw-r--r-- | fs/9p/v9fs_vfs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/9p/v9fs_vfs.h b/fs/9p/v9fs_vfs.h index 57997fa14e69..046cff377f10 100644 --- a/fs/9p/v9fs_vfs.h +++ b/fs/9p/v9fs_vfs.h @@ -52,3 +52,5 @@ int v9fs_file_open(struct inode *inode, struct file *file); void v9fs_inode2stat(struct inode *inode, struct p9_stat *stat); void v9fs_dentry_release(struct dentry *); int v9fs_uflags2omode(int uflags, int extended); + +ssize_t v9fs_file_readn(struct file *, char *, char __user *, u32, u64); |