* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
* If creating and at end of pathname, then can consider
* allowing file to be created.
*/
* If creating and at end of pathname, then can consider
* allowing file to be created.
*/
- if ((dp->v_mount->m_flag & rdonly) ||
- (wantparent && (ndp->ni_dvp->v_mount->m_flag & rdonly))) {
+ if ((dp->v_mount->mnt_flag & rdonly) ||
+ (wantparent && (ndp->ni_dvp->v_mount->mnt_flag & rdonly))) {