/* * Called to indicate we are now at the end of the tape, and * writing is not possible. */ void DEVICE::set_ateot() { /* Make tape effectively read-only */ Dmsg0(200, "==== Set AtEof\n"); state |= (ST_EOF|ST_EOT|ST_WEOT); clear_append(); }
/* * Called to indicate we are now at the end of the volume, and writing is not possible. */ void generic_tape_device::set_ateot() { /* * Make volume effectively read-only */ state |= (ST_EOF | ST_EOT | ST_WEOT); clear_append(); }
/* * Called to indicate we are now at the end of the volume, and writing is not possible. */ void DEVICE::set_ateot() { /* * Make volume effectively read-only */ set_bit(ST_EOF, state); set_bit(ST_EOT, state); set_bit(ST_WEOT, state); clear_append(); }