aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r--fs/nfs/nfs4proc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index 627f37c44456..ba8b2b5e98a1 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -7944,6 +7944,8 @@ _nfs4_proc_getdeviceinfo(struct nfs_server *server,
7944{ 7944{
7945 struct nfs4_getdeviceinfo_args args = { 7945 struct nfs4_getdeviceinfo_args args = {
7946 .pdev = pdev, 7946 .pdev = pdev,
7947 .notify_types = NOTIFY_DEVICEID4_CHANGE |
7948 NOTIFY_DEVICEID4_DELETE,
7947 }; 7949 };
7948 struct nfs4_getdeviceinfo_res res = { 7950 struct nfs4_getdeviceinfo_res res = {
7949 .pdev = pdev, 7951 .pdev = pdev,
@@ -7958,6 +7960,9 @@ _nfs4_proc_getdeviceinfo(struct nfs_server *server,
7958 7960
7959 dprintk("--> %s\n", __func__); 7961 dprintk("--> %s\n", __func__);
7960 status = nfs4_call_sync(server->client, server, &msg, &args.seq_args, &res.seq_res, 0); 7962 status = nfs4_call_sync(server->client, server, &msg, &args.seq_args, &res.seq_res, 0);
7963 if (res.notification & ~args.notify_types)
7964 dprintk("%s: unsupported notification\n", __func__);
7965
7961 dprintk("<-- %s status=%d\n", __func__, status); 7966 dprintk("<-- %s status=%d\n", __func__, status);
7962 7967
7963 return status; 7968 return status;