Changeset d3cfd63 in rtems


Ignore:
Timestamp:
Feb 28, 2010, 10:36:28 PM (10 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, master
Children:
daa0add
Parents:
db2c804a
Message:

2010-03-01 Chris Johns <chrisj@…>

  • libfs/src/rfs/rtems-rfs-buffer.h: Add `rtems_rfs_buffer_handle_reset'.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rdb2c804a rd3cfd63  
     12010-03-01      Chris Johns <chrisj@rtems.org>
     2
     3        * libfs/src/rfs/rtems-rfs-buffer.h: Add `rtems_rfs_buffer_handle_reset'.
     4
    152010-02-28      Joel Sherrill <joel.sherrill@oarcorp.com>
    26
  • cpukit/libfs/src/rfs/rtems-rfs-buffer.h

    rdb2c804a rd3cfd63  
    187187
    188188/**
    189  * Open a handle.
    190  *
    191  * @param fs The file system data.
    192  * @param handle The buffer handle to open.
     189 * Reset a handle.
     190 *
     191 * @param fs The file system data.
     192 * @param handle The buffer handle to reset.
    193193 * @return int The error number (errno). No error if 0.
    194194 */
    195195static inline int
    196 rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,
    197                               rtems_rfs_buffer_handle* handle)
     196rtems_rfs_buffer_handle_reset (rtems_rfs_buffer_handle* handle)
    198197{
    199198  handle->dirty = false;
     
    204203
    205204/**
     205 * Open a handle.
     206 *
     207 * @param fs The file system data.
     208 * @param handle The buffer handle to open.
     209 * @return int The error number (errno). No error if 0.
     210 */
     211static inline int
     212rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,
     213                              rtems_rfs_buffer_handle* handle)
     214{
     215  rtems_rfs_buffer_handle_reset (handle);
     216  return 0;
     217}
     218
     219/**
    206220 * Close a handle.
    207221 *
Note: See TracChangeset for help on using the changeset viewer.