The branch stable/12 has been updated by kib:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=f9ff2861a3b263bd7643a993a18c35ed39080863

commit f9ff2861a3b263bd7643a993a18c35ed39080863
Author:     Konstantin Belousov <[email protected]>
AuthorDate: 2021-03-18 10:40:20 +0000
Commit:     Konstantin Belousov <[email protected]>
CommitDate: 2021-05-01 00:38:30 +0000

    Style.
    
    (cherry picked from commit 42be0a7b10b14113ba9c4e4a738e8f20e235b736)
---
 sys/kern/kern_descrip.c | 2 +-
 sys/kern/vfs_vnops.c    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/kern/kern_descrip.c b/sys/kern/kern_descrip.c
index 8614656990c0..6e97a1e8e2f5 100644
--- a/sys/kern/kern_descrip.c
+++ b/sys/kern/kern_descrip.c
@@ -562,7 +562,7 @@ kern_fcntl(struct thread *td, int fd, int cmd, intptr_t arg)
                        tmp = flg = fp->f_flag;
                        tmp &= ~FCNTLFLAGS;
                        tmp |= FFLAGS(arg & ~O_ACCMODE) & FCNTLFLAGS;
-               } while(atomic_cmpset_int(&fp->f_flag, flg, tmp) == 0);
+               } while (atomic_cmpset_int(&fp->f_flag, flg, tmp) == 0);
                tmp = fp->f_flag & FNONBLOCK;
                error = fo_ioctl(fp, FIONBIO, &tmp, td->td_ucred, td);
                if (error != 0) {
diff --git a/sys/kern/vfs_vnops.c b/sys/kern/vfs_vnops.c
index ff44aba46f95..d95351ee3dd6 100644
--- a/sys/kern/vfs_vnops.c
+++ b/sys/kern/vfs_vnops.c
@@ -1624,7 +1624,7 @@ vn_closefile(struct file *fp, struct thread *td)
 
        vp = fp->f_vnode;
        fp->f_ops = &badfileops;
-       ref= (fp->f_flag & FHASLOCK) != 0 && fp->f_type == DTYPE_VNODE;
+       ref = (fp->f_flag & FHASLOCK) != 0 && fp->f_type == DTYPE_VNODE;
 
        error = vn_close1(vp, fp->f_flag, fp->f_cred, td, ref);
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to