From: Matthew Dillon Date: Tue, 4 Aug 2009 20:05:14 +0000 (-0700) Subject: MOUNTCTL - Adjust the hammer and null filesystems to work with the new mountctl X-Git-Tag: v2.4.0~363 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/726e0641c0c7d3949cec85b5b0a5bcd63d14648c MOUNTCTL - Adjust the hammer and null filesystems to work with the new mountctl --- diff --git a/sys/vfs/hammer/hammer_vnops.c b/sys/vfs/hammer/hammer_vnops.c index 7dfb04effe..70648113a6 100644 --- a/sys/vfs/hammer/hammer_vnops.c +++ b/sys/vfs/hammer/hammer_vnops.c @@ -2205,7 +2205,7 @@ hammer_vop_mountctl(struct vop_mountctl_args *ap) (const struct export_args *)ap->a_ctl); break; default: - error = journal_mountctl(ap); + error = vop_stdmountctl(ap); break; } return(error); diff --git a/sys/vfs/nullfs/null_vnops.c b/sys/vfs/nullfs/null_vnops.c index fb60b95cfd..9f76e4bbdf 100644 --- a/sys/vfs/nullfs/null_vnops.c +++ b/sys/vfs/nullfs/null_vnops.c @@ -225,6 +225,9 @@ null_mountctl(struct vop_mountctl_args *ap) else error = nullfs_export(mp, ap->a_op, (const void *)ap->a_ctl); break; + case MOUNTCTL_MOUNTFLAGS: + error = vop_stdmountctl(ap); + break; default: error = EOPNOTSUPP; break;