From d0f61a54f07e45ab99505b01410ebef65762025d Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Fri, 4 Mar 2005 05:17:37 +0000 Subject: [PATCH] Pass the memfifo option to the kernel. --- sbin/mountctl/mountctl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sbin/mountctl/mountctl.c b/sbin/mountctl/mountctl.c index 2bed041c3c..db04f5d8db 100644 --- a/sbin/mountctl/mountctl.c +++ b/sbin/mountctl/mountctl.c @@ -31,7 +31,7 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $DragonFly: src/sbin/mountctl/mountctl.c,v 1.2 2005/01/09 03:06:14 dillon Exp $ + * $DragonFly: src/sbin/mountctl/mountctl.c,v 1.3 2005/03/04 05:17:37 dillon Exp $ */ /* * This utility implements the userland mountctl command which is used to @@ -444,6 +444,8 @@ mountctl_add(const char *keyword, const char *mountpt, int fd) bzero(&joinfo, sizeof(joinfo)); snprintf(joinfo.id, sizeof(joinfo.id), "%s", keyword); + if (memfifo_opt > 0) + joinfo.membufsize = memfifo_opt; error = mountctl(mountpt, MOUNTCTL_INSTALL_VFS_JOURNAL, fd, &joinfo, sizeof(joinfo), NULL, 0); -- 2.41.0