Changeset 7666afc in rtems


Ignore:
Timestamp:
May 14, 2012, 2:53:49 PM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
da154e14
Parents:
53da07e
git-author:
Sebastian Huber <sebastian.huber@…> (05/14/12 14:53:49)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/15/12 08:01:43)
Message:

Filesystem: Add const qualifier to lock/unlock

Location:
cpukit
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/include/rtems/libio.h

    r53da07e r7666afc  
    7070 */
    7171typedef void (*rtems_filesystem_mt_entry_lock_t)(
    72   rtems_filesystem_mount_table_entry_t *mt_entry
     72  const rtems_filesystem_mount_table_entry_t *mt_entry
    7373);
    7474
     
    8181 */
    8282typedef void (*rtems_filesystem_mt_entry_unlock_t)(
    83   rtems_filesystem_mount_table_entry_t *mt_entry
     83  const rtems_filesystem_mount_table_entry_t *mt_entry
    8484);
    8585
     
    524524 */
    525525void rtems_filesystem_default_lock(
    526   rtems_filesystem_mount_table_entry_t *mt_entry
     526  const rtems_filesystem_mount_table_entry_t *mt_entry
    527527);
    528528
     
    533533 */
    534534void rtems_filesystem_default_unlock(
    535   rtems_filesystem_mount_table_entry_t *mt_entry
     535  const rtems_filesystem_mount_table_entry_t *mt_entry
    536536);
    537537
  • cpukit/libcsupport/src/__usrenv.c

    r53da07e r7666afc  
    5252
    5353static void null_op_lock_or_unlock(
    54   rtems_filesystem_mount_table_entry_t *mt_entry
     54  const rtems_filesystem_mount_table_entry_t *mt_entry
    5555)
    5656{
  • cpukit/libfs/src/defaults/default_lock_and_unlock.c

    r53da07e r7666afc  
    2020
    2121void rtems_filesystem_default_lock(
    22   rtems_filesystem_mount_table_entry_t *mt_entry
     22  const rtems_filesystem_mount_table_entry_t *mt_entry
    2323)
    2424{
     
    2727
    2828void rtems_filesystem_default_unlock(
    29   rtems_filesystem_mount_table_entry_t *mt_entry
     29  const rtems_filesystem_mount_table_entry_t *mt_entry
    3030)
    3131{
  • cpukit/libfs/src/dosfs/msdos.h

    r53da07e r7666afc  
    253253);
    254254
    255 void msdos_lock(rtems_filesystem_mount_table_entry_t *mt_entry);
    256 
    257 void msdos_unlock(rtems_filesystem_mount_table_entry_t *mt_entry);
     255void msdos_lock(const rtems_filesystem_mount_table_entry_t *mt_entry);
     256
     257void msdos_unlock(const rtems_filesystem_mount_table_entry_t *mt_entry);
    258258
    259259int msdos_initialize_support(
  • cpukit/libfs/src/dosfs/msdos_init.c

    r53da07e r7666afc  
    5252};
    5353
    54 void msdos_lock(rtems_filesystem_mount_table_entry_t *mt_entry)
     54void msdos_lock(const rtems_filesystem_mount_table_entry_t *mt_entry)
    5555{
    5656  msdos_fs_info_t *fs_info = mt_entry->fs_info;
     
    6565}
    6666
    67 void msdos_unlock(rtems_filesystem_mount_table_entry_t *mt_entry)
     67void msdos_unlock(const rtems_filesystem_mount_table_entry_t *mt_entry)
    6868{
    6969  msdos_fs_info_t *fs_info = mt_entry->fs_info;
  • cpukit/libfs/src/nfsclient/src/nfs.c

    r53da07e r7666afc  
    20872087}
    20882088
    2089 static void nfs_lock(rtems_filesystem_mount_table_entry_t *mt_entry)
    2090 {
    2091 }
    2092 
    2093 static void nfs_unlock(rtems_filesystem_mount_table_entry_t *mt_entry)
     2089static void nfs_lock(const rtems_filesystem_mount_table_entry_t *mt_entry)
     2090{
     2091}
     2092
     2093static void nfs_unlock(const rtems_filesystem_mount_table_entry_t *mt_entry)
    20942094{
    20952095}
  • cpukit/libfs/src/rfs/rtems-rfs-rtems.c

    r53da07e r7666afc  
    7474
    7575static void
    76 rtems_rfs_rtems_lock_by_mt_entry (rtems_filesystem_mount_table_entry_t *mt_entry)
     76rtems_rfs_rtems_lock_by_mt_entry (
     77  const rtems_filesystem_mount_table_entry_t *mt_entry
     78)
    7779{
    7880  rtems_rfs_file_system* fs = mt_entry->fs_info;
     
    8284
    8385static void
    84 rtems_rfs_rtems_unlock_by_mt_entry (rtems_filesystem_mount_table_entry_t *mt_entry)
     86rtems_rfs_rtems_unlock_by_mt_entry (
     87  const rtems_filesystem_mount_table_entry_t *mt_entry
     88)
    8589{
    8690  rtems_rfs_file_system* fs = mt_entry->fs_info;
Note: See TracChangeset for help on using the changeset viewer.