diff options
author | dds <dds@FreeBSD.org> | 2003-09-04 11:27:13 +0000 |
---|---|---|
committer | dds <dds@FreeBSD.org> | 2003-09-04 11:27:13 +0000 |
commit | a07778264c85df6f9c919bd824594eb6646ac3b9 (patch) | |
tree | b5d2b3fb4e591f8d9f1b2305e8820321a36ea3fb /sys | |
parent | 724364937f46aff1745c4eb77eac7867eb5cddf1 (diff) | |
download | FreeBSD-src-a07778264c85df6f9c919bd824594eb6646ac3b9.zip FreeBSD-src-a07778264c85df6f9c919bd824594eb6646ac3b9.tar.gz |
KNF: parentheses around return values.
Suggested by: bde
Approved by: schweikh (mentor - blanket)
MFC after: 6 weeks
Diffstat (limited to 'sys')
-rw-r--r-- | sys/nfsclient/nfs_vnops.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/nfsclient/nfs_vnops.c b/sys/nfsclient/nfs_vnops.c index ac4e0f6..c668ee1 100644 --- a/sys/nfsclient/nfs_vnops.c +++ b/sys/nfsclient/nfs_vnops.c @@ -285,7 +285,7 @@ nfs3_access_otw(struct vnode *vp, int wmode, struct thread *td, } m_freem(mrep); nfsmout: - return error; + return (error); } /* @@ -960,9 +960,9 @@ nfs_read(struct vop_read_args *ap) case VREG: return (nfs_bioread(vp, ap->a_uio, ap->a_ioflag, ap->a_cred)); case VDIR: - return EISDIR; + return (EISDIR); default: - return EOPNOTSUPP; + return (EOPNOTSUPP); } } @@ -1286,7 +1286,7 @@ static int 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; |