mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-27 12:47:13 +08:00
Use node_access_2 to enable generic IMFS nodes
This commit is contained in:
parent
b6c319bb7d
commit
a257bd730c
@ -182,7 +182,7 @@ struct file {
|
|||||||
#endif /* __rtems__ */
|
#endif /* __rtems__ */
|
||||||
};
|
};
|
||||||
#ifdef __rtems__
|
#ifdef __rtems__
|
||||||
#define f_data f_io.pathinfo.node_access
|
#define f_data f_io.pathinfo.node_access_2
|
||||||
|
|
||||||
static inline struct file *
|
static inline struct file *
|
||||||
rtems_bsd_iop_to_fp(rtems_libio_t *iop)
|
rtems_bsd_iop_to_fp(rtems_libio_t *iop)
|
||||||
@ -205,7 +205,7 @@ rtems_bsd_fp_to_fd(struct file *fp)
|
|||||||
static inline void *
|
static inline void *
|
||||||
rtems_bsd_loc_to_f_data(const rtems_filesystem_location_info_t *loc)
|
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
|
static inline uint32_t
|
||||||
|
Loading…
x
Reference in New Issue
Block a user