mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-01 14:48:34 +08:00
Fix mount table location chain corruption
Do not add a location twice to the location chain of rtems_filesystem_null_mt_entry (add it in falloc() only).
This commit is contained in:
parent
43dc972cbc
commit
feffbc2894
@ -366,8 +366,6 @@ finit(struct file *fp, u_int fflag, short type, void *data,
|
||||
fp->f_io.flags |= rtems_bsd_fflag_to_libio_flags(fflag);
|
||||
|
||||
pathinfo->handlers = ops;
|
||||
pathinfo->mt_entry = &rtems_filesystem_null_mt_entry;
|
||||
rtems_filesystem_location_add_to_mt_entry(pathinfo);
|
||||
}
|
||||
#endif /* __rtems__ */
|
||||
int fgetvp(struct thread *td, int fd, cap_rights_t rights, struct vnode **vpp);
|
||||
|
Loading…
x
Reference in New Issue
Block a user