summaryrefslogtreecommitdiff
path: root/libdiskfs/io-prenotify.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/io-prenotify.c')
-rw-r--r--libdiskfs/io-prenotify.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libdiskfs/io-prenotify.c b/libdiskfs/io-prenotify.c
index 4ae3967b..f88cb286 100644
--- a/libdiskfs/io-prenotify.c
+++ b/libdiskfs/io-prenotify.c
@@ -64,6 +64,8 @@ diskfs_S_io_prenotify (struct protid *cred,
err = diskfs_grow (np, end, cred);
if (diskfs_synchronous)
diskfs_node_update (np, 1);
+ if (!err && np->filemod_reqs)
+ diskfs_notice_filechange (np, FILE_CHANGED_EXTEND, 0, end);
out:
mutex_unlock (&np->lock);
return err;