summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/include/rtems/fs.h')
-rw-r--r--cpukit/include/rtems/fs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpukit/include/rtems/fs.h b/cpukit/include/rtems/fs.h
index e86ca5dafe..cd8a8d5457 100644
--- a/cpukit/include/rtems/fs.h
+++ b/cpukit/include/rtems/fs.h
@@ -52,6 +52,11 @@ struct rtems_filesystem_location_info_tt
rtems_filesystem_mount_table_entry_t *mt_entry;
};
+/*
+ * Return the mount table entry for a path location.
+ */
+#define rtems_filesystem_location_mount(_pl) ((_pl)->mt_entry)
+
#ifdef __cplusplus
}
#endif