Date: Sun, 27 Oct 2019 04:10:49 +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-11@freebsd.org Subject: svn commit: r354125 - stable/11/sys/ufs/ufs Message-ID: <201910270410.x9R4AnNI032348@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mckusick Date: Sun Oct 27 04:10:49 2019 New Revision: 354125 URL: https://svnweb.freebsd.org/changeset/base/354125 Log: MFC of 354050 Ensure that ctime update is visible immediately Modified: stable/11/sys/ufs/ufs/ufs_lookup.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/ufs/ufs/ufs_lookup.c ============================================================================== --- stable/11/sys/ufs/ufs/ufs_lookup.c Sun Oct 27 04:09:24 2019 (r354124) +++ stable/11/sys/ufs/ufs/ufs_lookup.c Sun Oct 27 04:10:49 2019 (r354125) @@ -1176,6 +1176,7 @@ ufs_dirremove(dvp, ip, flags, isrmdir) */ if (ip) { ip->i_effnlink--; + ip->i_flag |= IN_CHANGE; if (DOINGSOFTDEP(dvp)) { softdep_setup_unlink(dp, ip); } else { @@ -1289,6 +1290,7 @@ ufs_dirrewrite(dp, oip, newinum, newtype, isrmdir) * necessary. */ oip->i_effnlink--; + oip->i_flag |= IN_CHANGE; if (DOINGSOFTDEP(vdp)) { softdep_setup_unlink(dp, oip); } else {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910270410.x9R4AnNI032348>