Mark an inode as changed after a rename. It wasn't before in the softdep

case, which created inodes with dependencies, but no IN_* flag set,
so the dependencies were never flushed (after the waitfor check in
ffs_update was removed).
This commit is contained in:
fvdl 2000-05-30 15:22:12 +00:00
parent 4f72f2f97d
commit f0112539bd
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ufs_vnops.c,v 1.66 2000/05/13 23:43:16 perseant Exp $ */
/* $NetBSD: ufs_vnops.c,v 1.67 2000/05/30 15:22:12 fvdl Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993, 1995
@ -1130,6 +1130,7 @@ abortit:
}
error = ufs_dirremove(fdvp, xp, fcnp->cn_flags, 0);
xp->i_flag &= ~IN_RENAME;
xp->i_flag |= IN_CHANGE;
}
if (dp)
vput(fdvp);