[rtems-libbsd commit] Use node_access_2 to enable generic IMFS nodes
Sebastian Huber
sebh at rtems.org
Thu Jan 16 14:39:44 UTC 2014
Module: rtems-libbsd
Branch: master
Commit: a257bd730ca170a1842ddad95bfa53e6aee2cada
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=a257bd730ca170a1842ddad95bfa53e6aee2cada
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Thu Jan 16 15:02:24 2014 +0100
Use node_access_2 to enable generic IMFS nodes
---
freebsd/sys/sys/file.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/freebsd/sys/sys/file.h b/freebsd/sys/sys/file.h
index 8df9372..c68caef 100644
--- a/freebsd/sys/sys/file.h
+++ b/freebsd/sys/sys/file.h
@@ -182,7 +182,7 @@ struct file {
#endif /* __rtems__ */
};
#ifdef __rtems__
-#define f_data f_io.pathinfo.node_access
+#define f_data f_io.pathinfo.node_access_2
static inline struct file *
rtems_bsd_iop_to_fp(rtems_libio_t *iop)
@@ -205,7 +205,7 @@ rtems_bsd_fp_to_fd(struct file *fp)
static inline void *
rtems_bsd_loc_to_f_data(const rtems_filesystem_location_info_t *loc)
{
- return loc->node_access;
+ return loc->node_access_2;
}
static inline uint32_t
More information about the vc
mailing list