Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Apr 2020 06:32:51 +0000 (UTC)
From:      Kirk McKusick <mckusick@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r359737 - stable/12/sys/ufs/ufs
Message-ID:  <202004090632.0396WpQD047012@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mckusick
Date: Thu Apr  9 06:32:51 2020
New Revision: 359737
URL: https://svnweb.freebsd.org/changeset/base/359737

Log:
  Revert MFC of 359612 due to reported problems.

Modified:
  stable/12/sys/ufs/ufs/inode.h

Modified: stable/12/sys/ufs/ufs/inode.h
==============================================================================
--- stable/12/sys/ufs/ufs/inode.h	Thu Apr  9 05:11:18 2020	(r359736)
+++ stable/12/sys/ufs/ufs/inode.h	Thu Apr  9 06:32:51 2020	(r359737)
@@ -192,11 +192,10 @@ struct indir {
 #define	ITOV(ip)	((ip)->i_vnode)
 
 /* Determine if soft dependencies are being done */
-#define	DOINGSOFTDEP(vp)   \
-	(((vp)->v_mount->mnt_flag & (MNT_SOFTDEP | MNT_SUJ)) != 0)
-#define	MOUNTEDSOFTDEP(mp) (((mp)->mnt_flag & (MNT_SOFTDEP | MNT_SUJ)) != 0)
-#define	DOINGSUJ(vp)	   (((vp)->v_mount->mnt_flag & MNT_SUJ) != 0)
-#define	MOUNTEDSUJ(mp)	   (((mp)->mnt_flag & MNT_SUJ) != 0)
+#define	DOINGSOFTDEP(vp)   ((vp)->v_mount->mnt_flag & (MNT_SOFTDEP | MNT_SUJ))
+#define	MOUNTEDSOFTDEP(mp) ((mp)->mnt_flag & (MNT_SOFTDEP | MNT_SUJ))
+#define	DOINGSUJ(vp)	   ((vp)->v_mount->mnt_flag & MNT_SUJ)
+#define	MOUNTEDSUJ(mp)	   ((mp)->mnt_flag & MNT_SUJ)
 
 /* This overlays the fid structure (see mount.h). */
 struct ufid {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004090632.0396WpQD047012>