diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2012-07-16 16:39:15 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-07-17 13:33:50 -0400 |
commit | ce4ef7c0a8a0594d7b9d088d73866a4389402a7e (patch) | |
tree | 2898effa24c9b74d27b17dd8219064524537af1e /fs/nfs/internal.h | |
parent | 466bfe7f4a5bee4cdd73d3f6bd290173a8c75a40 (diff) |
NFS: Split out NFS v4 file operations
This patch moves the NFS v4 file functions into a new file that is only
compiled when CONFIG_NFS_V4 is enabled.
Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r-- | fs/nfs/internal.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h index 35a8ffec69f6..ca7200a53caf 100644 --- a/fs/nfs/internal.h +++ b/fs/nfs/internal.h | |||
@@ -257,6 +257,23 @@ int nfs_link(struct dentry *, struct inode *, struct dentry *); | |||
257 | int nfs_mknod(struct inode *, struct dentry *, umode_t, dev_t); | 257 | int nfs_mknod(struct inode *, struct dentry *, umode_t, dev_t); |
258 | int nfs_rename(struct inode *, struct dentry *, struct inode *, struct dentry *); | 258 | int nfs_rename(struct inode *, struct dentry *, struct inode *, struct dentry *); |
259 | 259 | ||
260 | /* file.c */ | ||
261 | int nfs_file_fsync_commit(struct file *, loff_t, loff_t, int); | ||
262 | loff_t nfs_file_llseek(struct file *, loff_t, int); | ||
263 | int nfs_file_flush(struct file *, fl_owner_t); | ||
264 | ssize_t nfs_file_read(struct kiocb *, const struct iovec *, unsigned long, loff_t); | ||
265 | ssize_t nfs_file_splice_read(struct file *, loff_t *, struct pipe_inode_info *, | ||
266 | size_t, unsigned int); | ||
267 | int nfs_file_mmap(struct file *, struct vm_area_struct *); | ||
268 | ssize_t nfs_file_write(struct kiocb *, const struct iovec *, unsigned long, loff_t); | ||
269 | int nfs_file_release(struct inode *, struct file *); | ||
270 | int nfs_lock(struct file *, int, struct file_lock *); | ||
271 | int nfs_flock(struct file *, int, struct file_lock *); | ||
272 | ssize_t nfs_file_splice_write(struct pipe_inode_info *, struct file *, loff_t *, | ||
273 | size_t, unsigned int); | ||
274 | int nfs_check_flags(int); | ||
275 | int nfs_setlease(struct file *, long, struct file_lock **); | ||
276 | |||
260 | /* inode.c */ | 277 | /* inode.c */ |
261 | extern struct workqueue_struct *nfsiod_workqueue; | 278 | extern struct workqueue_struct *nfsiod_workqueue; |
262 | extern struct inode *nfs_alloc_inode(struct super_block *sb); | 279 | extern struct inode *nfs_alloc_inode(struct super_block *sb); |