summaryrefslogtreecommitdiffstats
path: root/fs/nfs/callback_proc.c
diff options
context:
space:
mode:
authorOlga Kornievskaia <kolga@netapp.com>2018-07-09 21:13:28 +0200
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2018-08-09 18:56:38 +0200
commit5178a125f6d5fb0720315ea4f7cca642fb936031 (patch)
tree21f43d1faae65b94aa53fd96807b0b2a81ad9a25 /fs/nfs/callback_proc.c
parentNFS: Use an appropriate work queue for direct-write completion (diff)
downloadlinux-5178a125f6d5fb0720315ea4f7cca642fb936031.tar.xz
linux-5178a125f6d5fb0720315ea4f7cca642fb936031.zip
NFS CB_OFFLOAD xdr
Signed-off-by: Olga Kornievskaia <kolga@netapp.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/callback_proc.c')
-rw-r--r--fs/nfs/callback_proc.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/nfs/callback_proc.c b/fs/nfs/callback_proc.c
index be8e0d2196a5..d6f45bd176a9 100644
--- a/fs/nfs/callback_proc.c
+++ b/fs/nfs/callback_proc.c
@@ -661,3 +661,10 @@ __be32 nfs4_callback_notify_lock(void *argp, void *resp,
return htonl(NFS4_OK);
}
#endif /* CONFIG_NFS_V4_1 */
+#ifdef CONFIG_NFS_V4_2
+__be32 nfs4_callback_offload(void *args, void *dummy,
+ struct cb_process_state *cps)
+{
+ return 0;
+}
+#endif /* CONFIG_NFS_V4_2 */