]> arthur.barton.de Git - netatalk.git/commit - etc/afpd/afp_dsi.c
Reloading volumes from config file was broken
authorRalph Boehme <sloowfranklin@gmail.com>
Fri, 23 Nov 2012 17:23:24 +0000 (18:23 +0100)
committerRalph Boehme <sloowfranklin@gmail.com>
Mon, 26 Nov 2012 09:43:17 +0000 (10:43 +0100)
commit528159030a49a14bc9963b1b874c29080211c34c
tree3b8fb2bc9197f69300f927fe28c16c15b89bc3e7
parent9fae7d8e8f0f744b66819b308b0aff0621e5211c
Reloading volumes from config file was broken

load_volumes() is supposed to be a "reenetrant" function called from
various places in different programs (afpd, cnid_metad) to reload the
config for updating the volume list.

Fix the loop freeing volumes that are deleted.

Simplify the loop checking for paths and volume names in createvol().
This is also the loop which checks if a volume is already loaded
when config has been loaded before.

Remove checks for nested paths.

Fixes bug #474.
NEWS
bin/ad/ad.c
etc/afpd/afp_config.c
etc/afpd/afp_dsi.c
etc/afpd/volume.c
etc/cnid_dbd/cmd_dbd.c
etc/cnid_dbd/cnid_metad.c
etc/cnid_dbd/main.c
include/atalk/netatalk_conf.h
libatalk/util/netatalk_conf.c