NFS: Define dummy nfs_init_cinfo() and nfs_init_cinfo_from_inode()
Subsystems (2)
PATCH v2 1/1 NFS: Define dummy nfs_init_cinfo() and nfs_init_cinfo_from_inode()
From: Bryan Schumaker <[email protected]>
These are needed when v3 and v4 are not enabled.
Signed-off-by Bryan Schumaker <[email protected]>
--- fs/nfs/write.c | 11 +++++++++++ 1 file changed, 11 insertions(+)
fs/nfs/write.c +11 -0
@@ -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)
Signature · 1 line
1.7.10