vol: avoid defining unused struct on windows

namei_ogm_t is not used on Windows.  There is no equivalent
to owner/group mode.

Change-Id: Ib0675f106bf5e77b006ebe5eae5d67ee232313e0
Reviewed-on: http://gerrit.openafs.org/3698
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Jeffrey Altman 2011-01-20 01:33:27 -05:00 committed by Derrick Brashear
parent 5184261cde
commit 48508a2021

View File

@ -203,12 +203,13 @@ namei_iwrite(IHandle_t * h, afs_foff_t offset, char *buf, afs_fsize_t size)
* group at once. * group at once.
*/ */
#ifndef AFS_NT40_ENV
typedef struct { typedef struct {
int ogm_owner; int ogm_owner;
int ogm_group; int ogm_group;
int ogm_mode; int ogm_mode;
} namei_ogm_t; } namei_ogm_t;
#endif
static int GetFreeTag(IHandle_t * ih, int vno); static int GetFreeTag(IHandle_t * ih, int vno);