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