diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-01-16 15:02:24 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-01-16 15:45:00 +0100 |
commit | a257bd730ca170a1842ddad95bfa53e6aee2cada (patch) | |
tree | 5322b3721eac1062fe5e3fd2f7c939978e2b911e | |
parent | socketops: Return ENXIO for open() on sockets (diff) | |
download | rtems-libbsd-a257bd730ca170a1842ddad95bfa53e6aee2cada.tar.bz2 |
Use node_access_2 to enable generic IMFS nodes
-rw-r--r-- | 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 8df93726..c68caef5 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 |