summaryrefslogtreecommitdiffstats
path: root/freebsd
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-10-16 15:12:19 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-10-16 15:12:19 +0200
commitfeffbc2894077e819dc849ae4b9dc7ff33d5f57e (patch)
tree221c26e95af25fe2a06bffb40dfb74e1416c8dc0 /freebsd
parentdoc: Add network interface link up/down hint (diff)
downloadrtems-libbsd-feffbc2894077e819dc849ae4b9dc7ff33d5f57e.tar.bz2
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).
Diffstat (limited to 'freebsd')
-rw-r--r--freebsd/sys/sys/file.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/freebsd/sys/sys/file.h b/freebsd/sys/sys/file.h
index c68caef5..dd30c249 100644
--- a/freebsd/sys/sys/file.h
+++ b/freebsd/sys/sys/file.h
@@ -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);