aboutsummaryrefslogtreecommitdiff
path: root/sys/msdosfs/msdosfs_denode.c
diff options
context:
space:
mode:
authorMatt Jacob <mjacob@FreeBSD.org>1999-11-21 20:23:58 +0000
committerMatt Jacob <mjacob@FreeBSD.org>1999-11-21 20:23:58 +0000
commitddc83e8523a238d7a67eb958ba61ec961f573947 (patch)
tree9ee06d29868a77dc61dec4331ee53c4d6bddd80e /sys/msdosfs/msdosfs_denode.c
parentbe4512ece947b3a1dfacd007de99d4e571037a6a (diff)
downloadsrc-ddc83e8523a238d7a67eb958ba61ec961f573947.tar.gz
src-ddc83e8523a238d7a67eb958ba61ec961f573947.zip
Don't clear the SA_FLAG_TAPE_LOCKED prior to calling
saprevent when we're doing an OFFLINE ioctl- saprevent won't unlock the door, which then causes the unload to fail on some units. If we've already unloaded the tape, don't try and rewind and unload in saclose. This is a slightly riskier change because we're now going to depend on SA_FLAG_TAPE_MOUNTED to say whether we've really unloaded the tape. This involved changing the setting in sadone for tape errors to SA_FLAG_TAPE_FROZEN (which is more accurate anyway-if you get an EIO you've probably lost tape position anyway) where it used to just clear the mounted flag.
Notes
Notes: svn path=/head/; revision=53522
Diffstat (limited to 'sys/msdosfs/msdosfs_denode.c')
0 files changed, 0 insertions, 0 deletions