From f7bbd4fb27fbeaaa8acee1f256f311e1b29401ae Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Thu, 9 Mar 1995 02:04:31 +0000 Subject: (diskfs_S_io_prenotify): Implement diskfs_synchronous. --- libdiskfs/io-prenotify.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libdiskfs/io-prenotify.c b/libdiskfs/io-prenotify.c index b239c02e..b114a6a2 100644 --- a/libdiskfs/io-prenotify.c +++ b/libdiskfs/io-prenotify.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1994 Free Software Foundation + Copyright (C) 1994, 1995 Free Software Foundation This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -62,6 +62,8 @@ diskfs_S_io_prenotify (struct protid *cred, } err = diskfs_grow (np, end, cred); + if (diskfs_synchronous) + diskfs_node_update (np, 1); out: mutex_unlock (&np->lock); return err; -- cgit v1.2.3