]> git.sur5r.net Git - bacula/bacula/commit
- Simplify code in askdir.c that waits for creating an appendable
authorKern Sibbald <kern@sibbald.com>
Thu, 22 Dec 2005 21:37:01 +0000 (21:37 +0000)
committerKern Sibbald <kern@sibbald.com>
Thu, 22 Dec 2005 21:37:01 +0000 (21:37 +0000)
commit8597190cb7d59d08ea317e28145b74f1d21b8fd5
tree2989281679ddc297451eefd82f64df70bebb1e4d
parent58dba729034aaff3689088a081ecaf6725993faf
- Simplify code in askdir.c that waits for creating an appendable
  volume so that it can handle multiple returns from the wait
  code.
- Modify the wait code to permit multiple returns.
- Return a zero when autochanger drives is called and
  it is not an autochanger.
- Make rewind_dev() a method taking a DCR as an argument.
  This permits closing and reopening the drive if the
  rewind fails as happens if the drive was loaded while the
  file descriptor was open. This refreshes the file descriptor.
- Remove the ST_OPENED flag and always rely on fd < 0 for knowing
  if the device is open or not.  This should eliminate
  Arnos problem.
- Return error if reserve cannot find at least one suitable device.
- Make wait_for_sysop() return correct state information.
- Fix Win32 state file problem. write was not using compat
  code. This should fix bug #500.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2703 91ce42f0-d328-0410-95d8-f526ca767f89
13 files changed:
bacula/kes-1.38
bacula/kes-1.39
bacula/src/stored/askdir.c
bacula/src/stored/autochanger.c
bacula/src/stored/btape.c
bacula/src/stored/dev.c
bacula/src/stored/dev.h
bacula/src/stored/device.c
bacula/src/stored/dircmd.c
bacula/src/stored/label.c
bacula/src/stored/mount.c
bacula/src/stored/reserve.c
bacula/src/stored/wait.c