From bc2308d49eecfd78145f1617efcca7faba0dd25f Mon Sep 17 00:00:00 2001 From: Edward Tomasz Napierala Date: Wed, 4 Dec 2013 09:48:52 +0000 Subject: [PATCH] Change comment to match code. Discussed with: thompsa Sponsored by: The FreeBSD Foundation --- sys/dev/md/md.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/dev/md/md.c b/sys/dev/md/md.c index 99be494f330f..4030a2ddc90d 100644 --- a/sys/dev/md/md.c +++ b/sys/dev/md/md.c @@ -1320,8 +1320,8 @@ mdcreate_swap(struct md_s *sc, struct md_ioctl *mdio, struct thread *td) int error; /* - * Range check. Disallow negative sizes or any size less then the - * size of a page. Then round to a page. + * Range check. Disallow negative sizes and sizes not being + * multiple of page size. */ if (sc->mediasize <= 0 || (sc->mediasize % PAGE_SIZE) != 0) return (EDOM); @@ -1362,8 +1362,8 @@ mdcreate_null(struct md_s *sc, struct md_ioctl *mdio, struct thread *td) { /* - * Range check. Disallow negative sizes or any size less then the - * size of a page. Then round to a page. + * Range check. Disallow negative sizes and sizes not being + * multiple of page size. */ if (sc->mediasize <= 0 || (sc->mediasize % PAGE_SIZE) != 0) return (EDOM);