on 13/08/2013 10:56 Alexander Motin said the following:
> +     /* Deny write opens for read-only volumes. */
> +     if (vol->v_read_only && acw > 0) {
> +             error = EROFS;
> +             goto out;
> +     }

I'd like to stir a small (hopefully) discussion (again, hopefully): is EROFS
appropriate here or would ENODEV be better?

EROFS   Read-only filesystem
ENODEV  Operation not supported by device

-- 
Andriy Gapon
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to