Changeset 962571e9 in rtems


Ignore:
Timestamp:
Jul 1, 2010, 8:18:41 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
3f42281e
Parents:
9787ee22
Message:

2010-07-01 Joel Sherrill <joel.sherrilL@…>

  • libfs/src/dosfs/msdos_handlers_dir.c, libfs/src/dosfs/msdos_handlers_file.c, libfs/src/imfs/imfs_fifo.c, libfs/src/imfs/imfs_handlers_device.c, libfs/src/imfs/imfs_handlers_directory.c, libfs/src/imfs/imfs_handlers_link.c, libfs/src/imfs/imfs_handlers_memfile.c, libfs/src/imfs/miniimfs_init.c, libfs/src/rfs/rtems-rfs-rtems-dev.c, libfs/src/rfs/rtems-rfs-rtems-dir.c, libfs/src/rfs/rtems-rfs-rtems-file.c: Turn NULLs into default handlers.
Location:
cpukit
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r9787ee22 r962571e9  
     12010-07-01      Joel Sherrill <joel.sherrilL@OARcorp.com>
     2
     3        * libfs/src/dosfs/msdos_handlers_dir.c,
     4        libfs/src/dosfs/msdos_handlers_file.c, libfs/src/imfs/imfs_fifo.c,
     5        libfs/src/imfs/imfs_handlers_device.c,
     6        libfs/src/imfs/imfs_handlers_directory.c,
     7        libfs/src/imfs/imfs_handlers_link.c,
     8        libfs/src/imfs/imfs_handlers_memfile.c,
     9        libfs/src/imfs/miniimfs_init.c, libfs/src/rfs/rtems-rfs-rtems-dev.c,
     10        libfs/src/rfs/rtems-rfs-rtems-dir.c,
     11        libfs/src/rfs/rtems-rfs-rtems-file.c: Turn NULLs into default
     12        handlers.
     13
    1142010-07-01      Joel Sherrill <joel.sherrill@oarcorp.com>
    215
  • cpukit/libfs/src/dosfs/msdos_handlers_dir.c

    r9787ee22 r962571e9  
    2323    msdos_dir_close,
    2424    msdos_dir_read,
    25     NULL,             /* msdos_dir_write */
    26     NULL,             /* msdos_dir_ioctl */
     25    rtems_filesystem_default_write,
     26    rtems_filesystem_default_ioctl,
    2727    msdos_dir_lseek,
    2828    msdos_dir_stat,
    2929    msdos_dir_chmod,
    30     NULL,             /* msdos_dir_ftruncate */
    31     NULL,
     30    rtems_filesystem_default_ftruncate,
     31    rtems_filesystem_default_fpathconf,
    3232    msdos_dir_sync,
    3333    msdos_dir_sync,
    34     NULL,                 /* msdos_dir_fcntl */
     34    rtems_filesystem_default_fcntl,
    3535    msdos_dir_rmnod
    3636};
  • cpukit/libfs/src/dosfs/msdos_handlers_file.c

    r9787ee22 r962571e9  
    2929    msdos_file_chmod,
    3030    msdos_file_ftruncate,
    31     NULL,
     31    rtems_filesystem_default_fpathconf,
    3232    msdos_file_sync,
    3333    msdos_file_datasync,
    34     NULL,                 /* msdos_file_fcntl */
     34    rtems_filesystem_default_fcntl,
    3535    msdos_file_rmnod
    3636};
  • cpukit/libfs/src/imfs/imfs_fifo.c

    r9787ee22 r962571e9  
    141141  IMFS_stat,
    142142  IMFS_fchmod,
    143   NULL,    /* ftruncate */
    144   NULL,    /* fpathconf */
    145   NULL,    /* fsync */
    146   NULL,    /* fdatasync */
     143  rtems_filesystem_default_ftruncate,
     144  rtems_filesystem_default_fpathconf,
     145  rtems_filesystem_default_fsync,
     146  rtems_filesystem_default_fdatasync,
    147147  IMFS_fcntl,
    148148  IMFS_rmnod,
  • cpukit/libfs/src/imfs/imfs_handlers_device.c

    r9787ee22 r962571e9  
    3434  IMFS_fchmod,
    3535  device_ftruncate,
    36   NULL,   /* fpathconf */
    37   NULL,   /* fsync */
    38   NULL,   /* fdatasync */
    39   NULL,   /* fcntl */
     36  rtems_filesystem_default_fpathconf,
     37  rtems_filesystem_default_fsync,
     38  rtems_filesystem_default_fdatasync,
     39  rtems_filesystem_default_fcntl,
    4040  IMFS_rmnod
    4141};
  • cpukit/libfs/src/imfs/imfs_handlers_directory.c

    r9787ee22 r962571e9  
    2828  imfs_dir_close,
    2929  imfs_dir_read,
    30   NULL,             /* write */
    31   NULL,             /* ioctl */
     30  rtems_filesystem_default_write,
     31  rtems_filesystem_default_ioctl,
    3232  imfs_dir_lseek,
    3333  imfs_dir_fstat,
    3434  IMFS_fchmod,
    35   NULL,             /* ftruncate */
    36   NULL,             /* fpathconf */
    37   NULL,             /* fsync */
     35  rtems_filesystem_default_ftruncate,
     36  rtems_filesystem_default_fpathconf,
     37  rtems_filesystem_default_fsync,
    3838  IMFS_fdatasync,
    3939  IMFS_fcntl,
  • cpukit/libfs/src/imfs/imfs_handlers_link.c

    r9787ee22 r962571e9  
    2525
    2626const rtems_filesystem_file_handlers_r IMFS_link_handlers = {
    27   NULL,       /* open */
    28   NULL,       /* close */
    29   NULL,       /* read */
    30   NULL,       /* write */
    31   NULL,       /* ioctl */
    32   NULL,       /* lseek */
     27  rtems_filesystem_default_open,
     28  rtems_filesystem_default_close,
     29  rtems_filesystem_default_read,
     30  rtems_filesystem_default_write,
     31  rtems_filesystem_default_ioctl,
     32  rtems_filesystem_default_lseek,
    3333  IMFS_stat,  /* stat */
    34   NULL,       /* fchmod */
    35   NULL,       /* ftruncate */
    36   NULL,       /* fpathconf */
    37   NULL,       /* fsync */
    38   NULL,       /* fdatasync */
    39   NULL,       /* fcntl */
     34  rtems_filesystem_default_fchmod,
     35  rtems_filesystem_default_ftruncate,
     36  rtems_filesystem_default_fpathconf,
     37  rtems_filesystem_default_fsync,
     38  rtems_filesystem_default_fdatasync,
     39  rtems_filesystem_default_fcntl,
    4040  IMFS_rmnod
    4141};
  • cpukit/libfs/src/imfs/imfs_handlers_memfile.c

    r9787ee22 r962571e9  
    3434  IMFS_fchmod,
    3535  memfile_ftruncate,
    36   NULL,                /* fpathconf */
     36  rtems_filesystem_default_fpathconf,
    3737  IMFS_fdatasync,      /* fsync */
    3838  IMFS_fdatasync,
  • cpukit/libfs/src/imfs/miniimfs_init.c

    r9787ee22 r962571e9  
    2929  .evalpath_h = IMFS_eval_path,
    3030  .evalformake_h = IMFS_evaluate_for_make,
    31   .link_h = NULL,
    32   .unlink_h = NULL,
     31  .link_h = rtems_filesystem_default_link,
     32  .unlink_h = rtems_filesystem_default_unlink,
    3333  .node_type_h = IMFS_node_type,
    3434  .mknod_h = IMFS_mknod,
    35   .chown_h = NULL,
    36   .freenod_h = NULL,
     35  .chown_h = rtems_filesystem_default_chown,
     36  .freenod_h = rtems_filesystem_default_freenode,
    3737  .mount_h = IMFS_mount,
    3838  .fsmount_me_h = miniIMFS_initialize,
    39   .unmount_h = NULL,
    40   .fsunmount_me_h = NULL,
    41   .utime_h = NULL,
    42   .eval_link_h = NULL,
    43   .symlink_h = NULL,
    44   .readlink_h = NULL,
    45   .rename_h = NULL,
    46   .statvfs_h = NULL
     39  .unmount_h = rtems_filesystem_default_unmount,
     40  .fsunmount_me_h = rtems_filesystem_default_unmount,
     41  .utime_h = rtems_filesystem_default_utime,
     42  .eval_link_h = rtems_filesystem_default_evaluate_link,
     43  .symlink_h = rtems_filesystem_default_symlink,
     44  .readlink_h = rtems_filesystem_default_readlink,
     45  .rename_h = rtems_filesystem_default_rename,
     46  .statvfs_h = rtems_filesystem_default_statvfs
    4747};
    4848
  • cpukit/libfs/src/rfs/rtems-rfs-rtems-dev.c

    r9787ee22 r962571e9  
    264264  .fchmod_h    = rtems_rfs_rtems_fchmod,
    265265  .ftruncate_h = rtems_rfs_rtems_device_ftruncate,
    266   .fpathconf_h = NULL,
    267   .fsync_h     = NULL,
    268   .fdatasync_h = NULL,
    269   .fcntl_h     = NULL,
     266  .fpathconf_h = rtems_filesystem_default_fpathconf,
     267  .fsync_h     = rtems_filesystem_default_fsync,
     268  .fdatasync_h = rtems_filesystem_default_fdatasync,
     269  .fcntl_h     = rtems_filesystem_default_fcntl,
    270270  .rmnod_h     = rtems_rfs_rtems_rmnod
    271271};
  • cpukit/libfs/src/rfs/rtems-rfs-rtems-dir.c

    r9787ee22 r962571e9  
    231231  .close_h     = rtems_rfs_rtems_dir_close,
    232232  .read_h      = rtems_rfs_rtems_dir_read,
    233   .write_h     = NULL,
    234   .ioctl_h     = NULL,
     233  .write_h     = rtems_filesystem_default_write,
     234  .ioctl_h     = rtems_filesystem_default_ioctl,
    235235  .lseek_h     = rtems_rfs_rtems_dir_lseek,
    236236  .fstat_h     = rtems_rfs_rtems_stat,
    237237  .fchmod_h    = rtems_rfs_rtems_fchmod,
    238   .ftruncate_h = NULL,
    239   .fpathconf_h = NULL,
    240   .fsync_h     = NULL,
     238  .ftruncate_h = rtems_filesystem_default_ftruncate,
     239  .fpathconf_h = rtems_filesystem_default_fpathconf,
     240  .fsync_h     = rtems_filesystem_default_fsync,
    241241  .fdatasync_h = rtems_rfs_rtems_fdatasync,
    242242  .fcntl_h     = rtems_rfs_rtems_fcntl,
  • cpukit/libfs/src/rfs/rtems-rfs-rtems-file.c

    r9787ee22 r962571e9  
    339339  .fchmod_h    = rtems_rfs_rtems_fchmod,
    340340  .ftruncate_h = rtems_rfs_rtems_file_ftruncate,
    341   .fpathconf_h = NULL,
     341  .fpathconf_h = rtems_filesystem_default_fpathconf,
    342342  .fsync_h     = rtems_rfs_rtems_fdatasync,
    343343  .fdatasync_h = rtems_rfs_rtems_fdatasync,
Note: See TracChangeset for help on using the changeset viewer.