From ecfef7fa7a4f7031bbf0fe097eb8f8f337beb44d Mon Sep 17 00:00:00 2001 From: Frank Lahm Date: Sat, 31 Mar 2012 15:02:46 +0200 Subject: [PATCH] Remove unused option --- include/atalk/volume.h | 1 - libatalk/util/netatalk_conf.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/include/atalk/volume.h b/include/atalk/volume.h index f5e995d2..7a27c644 100644 --- a/include/atalk/volume.h +++ b/include/atalk/volume.h @@ -112,7 +112,6 @@ struct vol { Keep in sync with libatalk/util/volinfo.c */ #define AFPVOL_NOV2TOEACONV (1 << 5) /* no adouble:v2 to adouble:ea conversion */ -#define AFPVOL_UNIX_CTXT (1 << 6) /* volume created by getvolbypath ie UNIX access, not afpd AFP user session */ #define AFPVOL_RO (1 << 8) /* read-only volume */ #define AFPVOL_NOSTAT (1 << 16) /* advertise the volume even if we can't stat() it * maybe because it will be mounted later in preexec */ diff --git a/libatalk/util/netatalk_conf.c b/libatalk/util/netatalk_conf.c index d06be264..6b98673c 100644 --- a/libatalk/util/netatalk_conf.c +++ b/libatalk/util/netatalk_conf.c @@ -1103,8 +1103,6 @@ int load_volumes(AFPObj *obj, void (*delvol_fn)(struct vol *)) goto EC_CLEANUP; have_uservol = 0; for (vol = Volumes; vol; vol = vol->v_next) { - if (vol->v_flags & AFPVOL_UNIX_CTXT) - continue; vol->v_deleted = 1; } } else { -- 2.39.2