summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdiskfs/io-prenotify.c4
1 files changed, 3 insertions, 1 deletions
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;