diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2011-02-28 06:33:56 -0500 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@gmail.com> | 2011-03-15 10:57:37 -0400 |
commit | 17311779ac3dcd06f8ef727a06969c439e116a20 (patch) | |
tree | 7c8860d8f2b023223a7280b5a11e48ce935b5436 /fs/9p/v9fs_vfs.h | |
parent | 2efda7998bbc50589d28f18fddfb0c44d412128e (diff) |
fs/9p: Add read write helper function
We add read write helper function here which will
be used later by the mmap patch
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
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 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/9p/v9fs_vfs.h b/fs/9p/v9fs_vfs.h index e4d5540cbb70..c44aaa8bd2a3 100644 --- a/fs/9p/v9fs_vfs.h +++ b/fs/9p/v9fs_vfs.h | |||
@@ -64,8 +64,10 @@ void v9fs_inode2stat(struct inode *inode, struct p9_wstat *stat); | |||
64 | int v9fs_uflags2omode(int uflags, int extended); | 64 | int v9fs_uflags2omode(int uflags, int extended); |
65 | 65 | ||
66 | ssize_t v9fs_file_readn(struct file *, char *, char __user *, u32, u64); | 66 | ssize_t v9fs_file_readn(struct file *, char *, char __user *, u32, u64); |
67 | ssize_t v9fs_fid_readn(struct p9_fid *, char *, char __user *, u32, u64); | ||
67 | void v9fs_blank_wstat(struct p9_wstat *wstat); | 68 | void v9fs_blank_wstat(struct p9_wstat *wstat); |
68 | int v9fs_vfs_setattr_dotl(struct dentry *, struct iattr *); | 69 | int v9fs_vfs_setattr_dotl(struct dentry *, struct iattr *); |
69 | int v9fs_file_fsync_dotl(struct file *filp, int datasync); | 70 | int v9fs_file_fsync_dotl(struct file *filp, int datasync); |
70 | 71 | ssize_t v9fs_file_write_internal(struct inode *, struct p9_fid *, | |
72 | const char __user *, size_t, loff_t *, int); | ||
71 | #define P9_LOCK_TIMEOUT (30*HZ) | 73 | #define P9_LOCK_TIMEOUT (30*HZ) |