提交 4f97615d 编写于 作者: T Trond Myklebust

NFS: Fix a compile issue when CONFIG_NFS_V4_1 is undefined

struct nfs_direct_req can't compile when struct pnfs_ds_commit_info
is undefined.
Reported-by: NBryan Schumaker <bjschuma@netapp.com>
Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
Cc: Fred Isaman <iisaman@netapp.com>
上级 292f3eee
......@@ -1176,6 +1176,11 @@ struct nfs41_free_stateid_res {
struct nfs4_sequence_res seq_res;
};
#else
struct pnfs_ds_commit_info {
};
#endif /* CONFIG_NFS_V4_1 */
struct nfs_page;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册