Ignore:
Timestamp:
Sep 3, 2014, 3:15:24 AM (6 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.11, 5, master
Children:
be4992b1
Parents:
2617cd3e
Message:

libfs: Fix the warning in the RFS.

Return the first error if one or more happen when deleting an inode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libfs/src/rfs/rtems-rfs-inode.c

    r2617cd3e r5f9c208  
    353353      /*
    354354       * Do the release here to avoid the ctime field being set on a
    355        * close. Also if there loads is greater then one then other loads
     355       * close. Also if the loads is greater then one then other loads
    356356       * active. Forcing the loads count to 0.
    357357       */
     
    359359      handle->loads = 0;
    360360      handle->node = NULL;
     361      /*
     362       * Return the first error and drop any that followed.
     363       */
     364      if (rrc > 0)
     365        rc = rrc;
    361366    }
    362367  }
Note: See TracChangeset for help on using the changeset viewer.