mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 13:38:01 +00:00
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 <rdw@steadingsoftware.com> Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Jeffrey Altman <jaltman@openafs.org> Tested-by: Jeffrey Altman <jaltman@openafs.org>
This commit is contained in:
parent
06c3c3712c
commit
03651201ef
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user