aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/direct.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/direct.c')
-rw-r--r--fs/nfs/direct.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/nfs/direct.c b/fs/nfs/direct.c
index c8c53a03a585..1955bfeb3551 100644
--- a/fs/nfs/direct.c
+++ b/fs/nfs/direct.c
@@ -676,6 +676,9 @@ out_unlock:
676} 676}
677 677
678static const struct rpc_call_ops nfs_write_direct_ops = { 678static const struct rpc_call_ops nfs_write_direct_ops = {
679#if defined(CONFIG_NFS_V4_1)
680 .rpc_call_prepare = nfs_write_prepare,
681#endif /* CONFIG_NFS_V4_1 */
679 .rpc_call_done = nfs_direct_write_result, 682 .rpc_call_done = nfs_direct_write_result,
680 .rpc_release = nfs_direct_write_release, 683 .rpc_release = nfs_direct_write_release,
681}; 684};