diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2012-04-30 14:30:22 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-04-30 14:32:36 -0400 |
commit | 68cd6fa4f3be07ba648e22617dfa16a40d671d19 (patch) | |
tree | 6946e7ae1fd063d166066ab3f023ce42cdaa3ff0 /fs/nfs/write.c | |
parent | 24fc9211f4d48c04882a52e42b21c9b4abc4f9bf (diff) | |
download | linux-3.10-68cd6fa4f3be07ba648e22617dfa16a40d671d19.tar.gz linux-3.10-68cd6fa4f3be07ba648e22617dfa16a40d671d19.tar.bz2 linux-3.10-68cd6fa4f3be07ba648e22617dfa16a40d671d19.zip |
NFS: Define dummy nfs_init_cinfo() and nfs_init_cinfo_from_inode()
These are needed when v3 and v4 are not enabled.
Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/write.c')
-rw-r--r-- | fs/nfs/write.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/fs/nfs/write.c b/fs/nfs/write.c index 3636191c399..2f80aa50d96 100644 --- a/fs/nfs/write.c +++ b/fs/nfs/write.c @@ -567,6 +567,17 @@ int nfs_write_need_commit(struct nfs_write_data *data) } #else +static void nfs_init_cinfo_from_inode(struct nfs_commit_info *cinfo, + struct inode *inode) +{ +} + +void nfs_init_cinfo(struct nfs_commit_info *cinfo, + struct inode *inode, + struct nfs_direct_req *dreq) +{ +} + void nfs_mark_request_commit(struct nfs_page *req, struct pnfs_layout_segment *lseg, struct nfs_commit_info *cinfo) |