summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/rfs/rtems-rfs-file-system.h
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2010-02-22 23:02:41 +0000
committerChris Johns <chrisj@rtems.org>2010-02-22 23:02:41 +0000
commit59762963b2c74d67b5db42ad7589e69b706af067 (patch)
tree57e0c1407d5fd2894f641365d5610a56ec38bd2f /cpukit/libfs/src/rfs/rtems-rfs-file-system.h
parent2010-02-20 Chris Johns <chrisj@rtems.org> (diff)
downloadrtems-59762963b2c74d67b5db42ad7589e69b706af067.tar.bz2
2010-02-23 Chris Johns <chrisj@rtems.org>
* libfs/src/rfs/rtems-rfs-dir.c: Fix printf format warning for a 64bit off_t. * libfs/src/rfs/rtems-rfs-file-system.h: Add a macro to get the file system flags. * libfs/src/rfs/rtems-rfs-group.c, libfs/src/rfs/rtems-rfs-group.h: Add rtems_rfs_group_usage. * libfs/src/rfs/rtems-rfs-rtems.c: Fill in all the fields in the statvfs struct. * libfs/src/rfs/rtems-rfs-shell.c: Use rtems_rfs_group_usage.
Diffstat (limited to 'cpukit/libfs/src/rfs/rtems-rfs-file-system.h')
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-file-system.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-file-system.h b/cpukit/libfs/src/rfs/rtems-rfs-file-system.h
index 7f307a2cd5..8590d108aa 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-file-system.h
+++ b/cpukit/libfs/src/rfs/rtems-rfs-file-system.h
@@ -246,6 +246,12 @@ struct rtems_rfs_file_system_t
};
/**
+ * Return the flags.
+ *
+ * @param _fs Pointer to the file system.
+ */
+#define rtems_rfs_fs_flags(_f) ((_f)->flags)
+/**
* Should bitmap buffers be released when finished ?
*
* @param _fs Pointer to the file system.