Changeset 5027104 in rtems


Ignore:
Timestamp:
Feb 22, 2010, 11:06:03 PM (10 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, master
Children:
efd22bb8
Parents:
59762963
Message:

Fixed the inode values.

File:
1 edited

Legend:

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

    r59762963 r5027104  
    11121112  sb->f_bfree   = rtems_rfs_fs_blocks (fs) - blocks;
    11131113  sb->f_bavail  = sb->f_bfree;
    1114   sb->f_files   = rtems_rfs_fs_inodes (fs) - inodes;
    1115   sb->f_ffree   = sb->f_files;
    1116   sb->f_favail  = sb->f_files;
     1114  sb->f_files   = rtems_rfs_fs_inodes (fs);
     1115  sb->f_ffree   = rtems_rfs_fs_inodes (fs) - inodes;
     1116  sb->f_favail  = sb->f_ffree;
    11171117  sb->f_fsid    = RTEMS_RFS_SB_MAGIC;
    11181118  sb->f_flag    = rtems_rfs_fs_flags (fs);
Note: See TracChangeset for help on using the changeset viewer.