mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-06-25 10:38:00 +03:00
ZVOL: Comment platform-specific empty functions bodies on FreeBSD side
Reviewed-by: Alexander Motin <mav@FreeBSD.org> Signed-off-by: Fedor Uporov <fuporov.vstack@gmail.com> Closes #17383
This commit is contained in:
parent
fc617645a3
commit
087d7d80c7
@ -1559,13 +1559,21 @@ zvol_os_update_volsize(zvol_state_t *zv, uint64_t volsize)
|
|||||||
void
|
void
|
||||||
zvol_os_set_disk_ro(zvol_state_t *zv, int flags)
|
zvol_os_set_disk_ro(zvol_state_t *zv, int flags)
|
||||||
{
|
{
|
||||||
// XXX? set_disk_ro(zv->zv_zso->zvo_disk, flags);
|
/*
|
||||||
|
* The ro/rw ZVOL mode is switched using zvol_set_ro() function by
|
||||||
|
* enabling/disabling ZVOL_RDONLY flag. No additional FreeBSD-specific
|
||||||
|
* actions are required for readonly zfs property switching.
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
zvol_os_set_capacity(zvol_state_t *zv, uint64_t capacity)
|
zvol_os_set_capacity(zvol_state_t *zv, uint64_t capacity)
|
||||||
{
|
{
|
||||||
// XXX? set_capacity(zv->zv_zso->zvo_disk, capacity);
|
/*
|
||||||
|
* The ZVOL size/capacity is changed by zvol_set_volsize() function.
|
||||||
|
* Leave this method empty, because all required job is doing by
|
||||||
|
* zvol_os_update_volsize() platform-specific function.
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user