Changeset dadbcba in rtems


Ignore:
Timestamp:
May 27, 2010, 9:42:14 AM (9 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
d132b92a
Parents:
bc26d607
Message:

2010-05-27 Ralf Corsépius <ralf.corsepius@…>

  • libfs/src/nfsclient/src/nfs.c (NFS_MAKE_DEV_T_INO_HACK, NFS_MAKE_DEV_T): Cast "id"'s to rtems_device_minor_number.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rbc26d607 rdadbcba  
     12010-05-27      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * libfs/src/nfsclient/src/nfs.c (NFS_MAKE_DEV_T_INO_HACK,
     4        NFS_MAKE_DEV_T): Cast "id"'s to rtems_device_minor_number.
     5
    162010-05-27      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • cpukit/libfs/src/nfsclient/src/nfs.c

    rbc26d607 rdadbcba  
    158158#define NFS_MAKE_DEV_T_INO_HACK(node) \
    159159                rtems_filesystem_make_dev_t( NFS_MAJOR, \
    160                         (((node)->nfs->id)<<16) | (SERP_ATTR((node)).fileid >> 16) )
     160                        (((rtems_device_minor_number)((node)->nfs->id))<<16) | (((rtems_device_minor_number)SERP_ATTR((node)).fileid) >> 16) )
    161161
    162162/* use our 'nfs id' and the server's fsid for the minor device number
     
    165165#define NFS_MAKE_DEV_T(node) \
    166166                rtems_filesystem_make_dev_t( NFS_MAJOR, \
    167                         (((node)->nfs->id)<<16) | (SERP_ATTR((node)).fsid & ((1<<16)-1)) )
     167                        (((rtems_device_minor_number)((node)->nfs->id))<<16) | (SERP_ATTR((node)).fsid & (((rtems_device_minor_number)1<<16)-1)) )
    168168
    169169#define  DIRENT_HEADER_SIZE ( sizeof(struct dirent) - \
Note: See TracChangeset for help on using the changeset viewer.