7603 xuio_stat_wbuf_* should be declared (void)
illumos/illumos-gate@99aa8b5505
99aa8b5505
https://www.illumos.org/issues/7603
The funcs are declared k&r style, where the args are not specified:
void xuio_stat_wbuf_copied();
They should be declared to take no arguments:
void xuio_stat_wbuf_copied(void);
Need to change both .c and .h.
Author: Prashanth Sreenivasa <pks@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Paul Dagnelie <pcd@delphix.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
This commit is contained in:
parent
7e45ac57cb
commit
fedc1382bd
@ -1124,13 +1124,13 @@ xuio_stat_fini(void)
|
||||
}
|
||||
|
||||
void
|
||||
xuio_stat_wbuf_copied()
|
||||
xuio_stat_wbuf_copied(void)
|
||||
{
|
||||
XUIOSTAT_BUMP(xuiostat_wbuf_copied);
|
||||
}
|
||||
|
||||
void
|
||||
xuio_stat_wbuf_nocopy()
|
||||
xuio_stat_wbuf_nocopy(void)
|
||||
{
|
||||
XUIOSTAT_BUMP(xuiostat_wbuf_nocopy);
|
||||
}
|
||||
|
@ -753,8 +753,8 @@ int dmu_xuio_add(struct xuio *uio, struct arc_buf *abuf, offset_t off,
|
||||
int dmu_xuio_cnt(struct xuio *uio);
|
||||
struct arc_buf *dmu_xuio_arcbuf(struct xuio *uio, int i);
|
||||
void dmu_xuio_clear(struct xuio *uio, int i);
|
||||
void xuio_stat_wbuf_copied();
|
||||
void xuio_stat_wbuf_nocopy();
|
||||
void xuio_stat_wbuf_copied(void);
|
||||
void xuio_stat_wbuf_nocopy(void);
|
||||
|
||||
extern boolean_t zfs_prefetch_disable;
|
||||
extern int zfs_max_recordsize;
|
||||
|
Loading…
Reference in New Issue
Block a user