X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Flockd%2Fshare.h;h=630c5bf69b0786046bf420481e0894c56e3a4562;hb=97bf2856c6014879bd04983a3e9dfcdac1e7fe85;hp=5d8aa325f14065069e685ebd4e85df6b960020fc;hpb=76828883507a47dae78837ab5dec5a5b4513c667;p=linux-2.6.git diff --git a/include/linux/lockd/share.h b/include/linux/lockd/share.h index 5d8aa325f..630c5bf69 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 *); -int 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 */