MOUNTCTL - Adjust the hammer and null filesystems to work with the new mountctl
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 4 Aug 2009 20:05:14 +0000 (13:05 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 4 Aug 2009 20:05:14 +0000 (13:05 -0700)
sys/vfs/hammer/hammer_vnops.c
sys/vfs/nullfs/null_vnops.c

index 7dfb04e..7064811 100644 (file)
@@ -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);
index fb60b95..9f76e4b 100644 (file)
@@ -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;