[OpenAFS-devel] Solaris 10 - 1.4.3rc3 kernel modules build issues
Douglas E. Engert
deengert@anl.gov
Fri, 09 Mar 2007 14:12:44 -0600
It was not clear if this was a name made up by AFS, or a
name that is defined on some OS. If its an AFS made up name than
I agree.
Jeffrey Altman wrote:
> Douglas E. Engert wrote:
>> On Solaris, 7, 8, 9, 10 /usr/include/sys/file.h has:
>>
>> #define OFFSET_MAX(fd) ((fd->f_flag & FOFFMAX) ? MAXOFFSET_T : MAXOFF32
>>> _T)
>> The use of OFFSET_MAX by AFS has some problems in afs_vnop_flock.c
>> that include sys/files.h and has
>>
>> #ifndef OFFSET_MAX
>> #define OFFSET_MAX 07xfffffffffffffff
>> #endif
>
> It would probably be best if this was called
>
> AFS_LOCK_OFFSET_MAX
>
> Jeffrey Altman
--
Douglas E. Engert <DEEngert@anl.gov>
Argonne National Laboratory
9700 South Cass Avenue
Argonne, Illinois 60439
(630) 252-5444