Remove duplicate CREATE_SGUID_ADMIN_ONLY define
authorNathaniel Wesley Filardo <nwfilardo@gmail.com>
Sat, 25 Oct 2014 23:48:36 +0000 (19:48 -0400)
committerJeffrey Altman <jaltman@your-file-system.com>
Mon, 27 Oct 2014 04:17:14 +0000 (00:17 -0400)
A trivial omission from 30433f36a953187f27b5db9fb432f3b7dce91e6b

Change-Id: If85ebd73a68c6226077b690243a94c2e40f88149
Reviewed-on: http://gerrit.openafs.org/11556
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>

src/viced/afsfileprocs.c

index 3d1d504..b05ff1a 100644 (file)
@@ -1766,7 +1766,6 @@ Update_TargetVnodeStatus(Vnode * targetptr, afs_uint32 Caller,
     }
     if (InStatus->Mask & AFS_SETMODE) {
        int modebits = InStatus->UnixModeBits;
-#define        CREATE_SGUID_ADMIN_ONLY 1
 #ifdef CREATE_SGUID_ADMIN_ONLY
        if (!remote && VanillaUser(client))
            modebits = modebits & 0777;