Print this page
*** NO COMMENTS ***
@@ -126,10 +126,11 @@
struct lofi_ioctl {
uint32_t li_minor;
boolean_t li_force;
boolean_t li_cleanup;
+ boolean_t li_readonly;
char li_filename[MAXPATHLEN];
/* the following fields are required for compression support */
char li_algorithm[MAXALGLEN];
@@ -221,10 +222,11 @@
uint32_t ls_blk_open;
uint32_t ls_chr_open;
uint32_t ls_lyr_open_count;
int ls_openflag;
boolean_t ls_cleanup; /* cleanup on close */
+ boolean_t ls_readonly;
taskq_t *ls_taskq;
kstat_t *ls_kstat;
kmutex_t ls_kstat_lock;
struct dk_geom ls_dkg;
struct vtoc ls_vtoc;