KNF: parentheses around return values.
Suggested by: bde Approved by: schweikh (mentor - blanket) MFC after: 6 weeks
This commit is contained in:
parent
628d16a388
commit
cf669e5456
@ -285,7 +285,7 @@ nfs3_access_otw(struct vnode *vp, int wmode, struct thread *td,
|
|||||||
}
|
}
|
||||||
m_freem(mrep);
|
m_freem(mrep);
|
||||||
nfsmout:
|
nfsmout:
|
||||||
return error;
|
return (error);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -960,9 +960,9 @@ nfs_read(struct vop_read_args *ap)
|
|||||||
case VREG:
|
case VREG:
|
||||||
return (nfs_bioread(vp, ap->a_uio, ap->a_ioflag, ap->a_cred));
|
return (nfs_bioread(vp, ap->a_uio, ap->a_ioflag, ap->a_cred));
|
||||||
case VDIR:
|
case VDIR:
|
||||||
return EISDIR;
|
return (EISDIR);
|
||||||
default:
|
default:
|
||||||
return EOPNOTSUPP;
|
return (EOPNOTSUPP);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1286,7 +1286,7 @@ static int
|
|||||||
nfs_mknod(struct vop_mknod_args *ap)
|
nfs_mknod(struct vop_mknod_args *ap)
|
||||||
{
|
{
|
||||||
|
|
||||||
return nfs_mknodrpc(ap->a_dvp, ap->a_vpp, ap->a_cnp, ap->a_vap);
|
return (nfs_mknodrpc(ap->a_dvp, ap->a_vpp, ap->a_cnp, ap->a_vap));
|
||||||
}
|
}
|
||||||
|
|
||||||
static u_long create_verf;
|
static u_long create_verf;
|
||||||
|
Loading…
Reference in New Issue
Block a user