summaryrefslogtreecommitdiffstats
path: root/sys/sys/mount.h
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2010-10-10 07:05:47 +0000
committerkib <kib@FreeBSD.org>2010-10-10 07:05:47 +0000
commit4036cd070dc5c10e56ee81b7b59fac9c3d1b21b5 (patch)
treea006cef67a086a26fbf62390901a1727666e6379 /sys/sys/mount.h
parentab9dd3ef5837b16243ea56cca50dce6f2709cb92 (diff)
downloadFreeBSD-src-4036cd070dc5c10e56ee81b7b59fac9c3d1b21b5.zip
FreeBSD-src-4036cd070dc5c10e56ee81b7b59fac9c3d1b21b5.tar.gz
The r184588 changed the layout of struct export_args, causing an ABI
breakage for old mount(2) syscall, since most struct <filesystem>_args embed export_args. The mount(2) is supposed to provide ABI compatibility for pre-nmount mount(8) binaries, so restore ABI to pre-r184588. Requested and reviewed by: bde MFC after: 2 weeks
Diffstat (limited to 'sys/sys/mount.h')
-rw-r--r--sys/sys/mount.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/mount.h b/sys/sys/mount.h
index d9b6ff4..be605b4 100644
--- a/sys/sys/mount.h
+++ b/sys/sys/mount.h
@@ -741,6 +741,8 @@ int vfs_modevent(module_t, int, void *);
void vfs_mount_error(struct mount *, const char *, ...);
void vfs_mountroot(void); /* mount our root filesystem */
void vfs_mountedfrom(struct mount *, const char *from);
+void vfs_oexport_conv(const struct oexport_args *oexp,
+ struct export_args *exp);
void vfs_ref(struct mount *);
void vfs_rel(struct mount *);
struct mount *vfs_mount_alloc(struct vnode *, struct vfsconf *, const char *,
OpenPOWER on IntegriCloud