no need to pass an argument to dn_compat_calc_size()

MFC after:	3 days
This commit is contained in:
Luigi Rizzo 2010-04-09 16:06:53 +00:00
parent 7f18fc27cd
commit c11e54acfc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=206425
3 changed files with 3 additions and 3 deletions

View file

@ -553,7 +553,7 @@ dn_compat_configure(void *v)
}
int
dn_compat_calc_size(struct dn_parms dn_cfg)
dn_compat_calc_size(void)
{
int need = 0;
/* XXX use FreeBSD 8 struct size */

View file

@ -392,7 +392,7 @@ int dn_c_copy_fs(struct dn_fsk *f, struct copy_args *a, int nq);
int dn_compat_copy_queue(struct copy_args *a, void *_o);
int dn_compat_copy_pipe(struct copy_args *a, void *_o);
int copy_data_helper_compat(void *_o, void *_arg);
int dn_compat_calc_size(struct dn_parms dn_cfg);
int dn_compat_calc_size(void);
int do_config(void *p, int l);
/* function to drain idle object */

View file

@ -1769,7 +1769,7 @@ compute_space(struct dn_id *cmd, struct copy_args *a)
x = DN_C_FS | DN_C_QUEUE;
break;
case DN_GET_COMPAT: /* compatibility mode */
need = dn_compat_calc_size(dn_cfg);
need = dn_compat_calc_size();
break;
}
a->flags = x;