The branch stable/13 has been updated by kib:

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

commit d0128bd98a082bba4995db39018a0ace4cdb0218
Author:     Konstantin Belousov <[email protected]>
AuthorDate: 2022-02-01 05:15:56 +0000
Commit:     Konstantin Belousov <[email protected]>
CommitDate: 2022-02-04 10:19:36 +0000

    msdosfs_denode.c: some style
    
    (cherry picked from commit d51b0786a2f60c3d188cae812cc0a3e0ab1a9893)
---
 sys/fs/msdosfs/msdosfs_denode.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/sys/fs/msdosfs/msdosfs_denode.c b/sys/fs/msdosfs/msdosfs_denode.c
index 6fba51708462..a4874b8f4f9c 100644
--- a/sys/fs/msdosfs/msdosfs_denode.c
+++ b/sys/fs/msdosfs/msdosfs_denode.c
@@ -205,9 +205,9 @@ badoff:
        /*
         * Copy the directory entry into the denode area of the vnode.
         */
-       if ((dirclust == MSDOSFSROOT
-            || (FAT32(pmp) && dirclust == pmp->pm_rootdirblk))
-           && diroffset == MSDOSFSROOT_OFS) {
+       if ((dirclust == MSDOSFSROOT ||
+           (FAT32(pmp) && dirclust == pmp->pm_rootdirblk)) &&
+           diroffset == MSDOSFSROOT_OFS) {
                /*
                 * Directory entry for the root directory. There isn't one,
                 * so we manufacture one. We should probably rummage
@@ -386,7 +386,7 @@ detrunc(struct denode *dep, u_long length, int flags, 
struct ucred *cred)
 
        if (dep->de_FileSize < length) {
                vnode_pager_setsize(DETOV(dep), length);
-               return deextend(dep, length, cred);
+               return (deextend(dep, length, cred));
        }
 
        /*
@@ -476,7 +476,7 @@ detrunc(struct denode *dep, u_long length, int flags, 
struct ucred *cred)
                        return (error);
                }
                fc_setcache(dep, FC_LASTFC, de_cluster(pmp, length - 1),
-                           eofentry);
+                   eofentry);
        }
 
        /*

Reply via email to