diff options
author | Jeff Layton <jlayton@redhat.com> | 2016-09-17 18:17:36 -0400 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2016-09-22 13:56:04 -0400 |
commit | db783688d4a20bae1b77c5c96a0ad3eb3079f9f6 (patch) | |
tree | c9abea5b0d72a82cc6fa6e67be518e68e504d114 /fs/nfs/callback.h | |
parent | a8ce377a5db8d32b08c3bcc1c5d70cad64a0b21d (diff) | |
download | talos-op-linux-db783688d4a20bae1b77c5c96a0ad3eb3079f9f6.tar.gz talos-op-linux-db783688d4a20bae1b77c5c96a0ad3eb3079f9f6.zip |
nfs: add handling for CB_NOTIFY_LOCK in client
For now, the callback doesn't do anything. Support for that will be
added in later patches.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/callback.h')
-rw-r--r-- | fs/nfs/callback.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/fs/nfs/callback.h b/fs/nfs/callback.h index 41ad65151ec8..c701c308fac5 100644 --- a/fs/nfs/callback.h +++ b/fs/nfs/callback.h @@ -179,6 +179,15 @@ extern __be32 nfs4_callback_devicenotify( struct cb_devicenotifyargs *args, void *dummy, struct cb_process_state *cps); +struct cb_notify_lock_args { + struct nfs_fh cbnl_fh; + struct nfs_lowner cbnl_owner; + bool cbnl_valid; +}; + +extern __be32 nfs4_callback_notify_lock(struct cb_notify_lock_args *args, + void *dummy, + struct cb_process_state *cps); #endif /* CONFIG_NFS_V4_1 */ extern int check_gss_callback_principal(struct nfs_client *, struct svc_rqst *); extern __be32 nfs4_callback_getattr(struct cb_getattrargs *args, |