From nobody Fri Feb 04 10:20:12 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E6D5419A7FDF; Fri, 4 Feb 2022 10:20:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jqs3w5vC5z4s3k; Fri, 4 Feb 2022 10:20:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643970012; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=2LEzCXQhcuOQvZSA94I1vz3586DGC3Hb5ETu4stXAtE=; b=g0iabJaNbvnVKQCVYnB3PkTmIxWjFNVRBldMcwJ55spbBNlLIpqITd/BoRYRpSWhmF5QZY +zvWf4FHcrjsuFapo3vKec1ZwTwmnoeCuAPYxRIujQ/6HJ+u4w+Q3gyuS2GJ+robpJS9zN cndsFIUvLLs6xugbIQs4mVXmCZwW+R4M2xLAU7I/vsyIfLg4fhNl5AnWGY+NWUnyxY1hc0 OkQuasRizcHV+kZ8sHs3JJ3XSC8hLHLC0go9N9N4bEEtMYKPUpB9TlGL7VaBwaFQWo2cBL wUAb5QiYIeLJdWT61LsCsdtubzVqDW9JrkRjy/y9Kv1XGtISsnSh28eVpGvZyQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A505517E3; Fri, 4 Feb 2022 10:20:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 214AKCE1023030; Fri, 4 Feb 2022 10:20:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 214AKCGG023024; Fri, 4 Feb 2022 10:20:12 GMT (envelope-from git) Date: Fri, 4 Feb 2022 10:20:12 GMT Message-Id: <202202041020.214AKCGG023024@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: d0128bd98a08 - stable/13 - msdosfs_denode.c: some style List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: d0128bd98a082bba4995db39018a0ace4cdb0218 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643970012; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=2LEzCXQhcuOQvZSA94I1vz3586DGC3Hb5ETu4stXAtE=; b=ItsV2g0SP/+xYz/OFXuHzLY+DKjL3k5LOfowkfkHrltXiUUaNZzipKE3bbomMiDGuF/r+5 78OZmV1FNxEcO5tbosEhcJkSNWUYodF4KDXyEIgaJKVz1FwdLZoNUUawM8a8Lz5hkEi/HJ 3/GNA0Pwov0m1WYjG2eJQ3wlWTcznHvXH1NH2M0Ba5bCyx7S6HfhFDsNOGBB+3DSXB9IVF ZLN65unY9306XdcU01JPgVacQ1jBj0GW2TPiWJrzh9XdDeCB5d9CZWujokESmnSFI8xHqk gKf5VrPgC84ejBIdR106fkO/uGnHaNddziv89MfbNcTdp5CI6Th78naoLkFkEA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643970012; a=rsa-sha256; cv=none; b=yaYyLuJBLHb14ufcWrfs4QC7E7EjcSkiaVIaUF2f+mNVNAsw4UBVt/MQaVaB96ONgt0ozf z0Ta4FY7sOIWfCbiJ1CS907FaqDQiAHmPB13U4g8PKjvtLBD+bZ8rG96VWWSszaDiid53L jscbwfm2UBROKAQY/+TjxPQWUg1aw2Ncg10tbkhcqioYFAqq7WpRPf3/FAIAFJ8D+93Mjx Je3v0ob9gXITkI/SBSGccadR6Ba1nnEqIuLwoFfnldod3LIMWCtN+zzpi3jhlzL5AR6+QB KUzK/uTE8XLOBUJKGp352p5lSNhAvMlJPdi2Jgvg2lwP6Mjy0KRJh/scdr9R+Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=d0128bd98a082bba4995db39018a0ace4cdb0218 commit d0128bd98a082bba4995db39018a0ace4cdb0218 Author: Konstantin Belousov AuthorDate: 2022-02-01 05:15:56 +0000 Commit: Konstantin Belousov 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); } /*