X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Flinux%2Flockd%2Fshare.h;h=630c5bf69b0786046bf420481e0894c56e3a4562;hb=52921e02a4f4163a7b1f4b5dde71e1debc71de4a;hp=c75a424ebe4c81822f6e07e908068cce1f18bb36;hpb=63e8d9114dab88c101be2372cb1f83a4fe74d9c1;p=powerpc.git diff --git a/include/linux/lockd/share.h b/include/linux/lockd/share.h index c75a424ebe..630c5bf69b 100644 --- a/include/linux/lockd/share.h +++ b/include/linux/lockd/share.h @@ -21,10 +21,11 @@ struct nlm_share { u32 s_mode; /* deny mode */ }; -u32 nlmsvc_share_file(struct nlm_host *, struct nlm_file *, +__be32 nlmsvc_share_file(struct nlm_host *, struct nlm_file *, struct nlm_args *); -u32 nlmsvc_unshare_file(struct nlm_host *, struct nlm_file *, +__be32 nlmsvc_unshare_file(struct nlm_host *, struct nlm_file *, struct nlm_args *); -void nlmsvc_traverse_shares(struct nlm_host *, struct nlm_file *, int); +void nlmsvc_traverse_shares(struct nlm_host *, struct nlm_file *, + nlm_host_match_fn_t); #endif /* LINUX_LOCKD_SHARE_H */