From 03651201ef2b2e3745ff3cf36af41f3ea27154b1 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Sat, 5 Mar 2011 10:06:50 -0500 Subject: [PATCH] volser: restore diskPartition[64] lock_fd comment The diskPartition[64] wire structures contain an int to represent the file descriptor. This field is too small to represent the Windows file descriptor which is a 64-bit HANDLE. A comment had been added by Rod Widdowson. Restore it. Change-Id: Icf513060802e7f057f6ca735afb26d22edbf6446 Reviewed-on: http://gerrit.openafs.org/4138 Reviewed-by: Rod Widdowson Tested-by: BuildBot Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman --- src/volser/volint.xg | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/src/volser/volint.xg b/src/volser/volint.xg index 4d20f0a7a2..5febc63308 100644 --- a/src/volser/volint.xg +++ b/src/volser/volint.xg @@ -210,9 +210,10 @@ struct pIDs { }; struct diskPartition { - char name[32]; /* Mounted partition name */ - char devName[32]; - int lock_fd; + char name[32]; /* Mounted partition name */ + char devName[32]; + int lock_fd; /* assigned from DiskPartition FD_t + which is 64-bit HANDLE on Windows */ int totalUsable; int free; int minFree; @@ -220,13 +221,13 @@ struct diskPartition { }; struct diskPartition64 { - char name[256]; /* Mounted partition name */ - char devName[256]; - int lock_fd; - afs_int64 totalUsable; - afs_int64 free; - afs_int64 minFree; - + char name[256]; /* Mounted partition name */ + char devName[256]; + int lock_fd; /* assigned from DiskPartition64 FD_t + which is a 64-bit HANDLE on Windows */ + afs_int64 totalUsable; + afs_int64 free; + afs_int64 minFree; }; struct restoreCookie {