From af881f6f26d36b065fcb5ab1c7e67f8c0a2ade89 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Mon, 14 Mar 1994 22:43:12 +0000 Subject: entered into RCS --- libdiskfs/node-update.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libdiskfs/node-update.c b/libdiskfs/node-update.c index af1f7b3b..453dea59 100644 --- a/libdiskfs/node-update.c +++ b/libdiskfs/node-update.c @@ -27,5 +27,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ void diskfs_node_update (struct node *np, int wait) { diskfs_set_node_times (np); - diskfs_write_disknode (np, wait); + if (np->dn_stat_dirty) + diskfs_write_disknode (np, wait); } -- cgit v1.2.3