projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24fc921
)
NFS: Define dummy nfs_init_cinfo() and nfs_init_cinfo_from_inode()
author
Bryan Schumaker
<
[email protected]
>
Mon, 30 Apr 2012 18:30:22 +0000
(14:30 -0400)
committer
Trond Myklebust
<
[email protected]
>
Mon, 30 Apr 2012 18:32:36 +0000
(14:32 -0400)
These are needed when v3 and v4 are not enabled.
Signed-off-by: Bryan Schumaker <
[email protected]
>
Signed-off-by: Trond Myklebust <
[email protected]
>
fs/nfs/write.c
patch
|
blob
|
history
diff --git
a/fs/nfs/write.c
b/fs/nfs/write.c
index 3636191c39968c0d812207d125542c725a6de572..2f80aa50d9678374f5565770c0a9627d1e2f60b7 100644
(file)
--- 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)