Print this page
OS-1571 Placate gcc -Wparentheses
Reviewed by: Robert Mustacchi <rm@joyent.com>

*** 552,562 **** /* * Get vnode for the real file/dir. We'll have a hold on realvp which * we won't vn_rele until hyprlofs_inactive. */ ! if (error = lookupname(fspath, UIO_SYSSPACE, FOLLOW, NULLVPP, &realvp)) return (error); /* no devices allowed */ if (IS_DEVVP(realvp)) { VN_RELE(realvp); --- 552,563 ---- /* * Get vnode for the real file/dir. We'll have a hold on realvp which * we won't vn_rele until hyprlofs_inactive. */ ! if ((error = lookupname(fspath, UIO_SYSSPACE, FOLLOW, NULLVPP, ! &realvp)) != 0) return (error); /* no devices allowed */ if (IS_DEVVP(realvp)) { VN_RELE(realvp);
*** 579,589 **** * important when fspath is a trigger AUTOFS node, since we're really * interested in mounting the filesystem AUTOFS mounted as result of * the VOP_ACCESS() call not the AUTOFS node itself. */ if (vn_mountedvfs(realvp) != NULL) { ! if (error = traverse(&realvp)) { VN_RELE(realvp); return (error); } } --- 580,590 ---- * important when fspath is a trigger AUTOFS node, since we're really * interested in mounting the filesystem AUTOFS mounted as result of * the VOP_ACCESS() call not the AUTOFS node itself. */ if (vn_mountedvfs(realvp) != NULL) { ! if ((error = traverse(&realvp)) != 0) { VN_RELE(realvp); return (error); } }