summaryrefslogtreecommitdiff
path: root/libdiskfs/node-rdwr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/node-rdwr.c')
-rw-r--r--libdiskfs/node-rdwr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libdiskfs/node-rdwr.c b/libdiskfs/node-rdwr.c
index 319a985c..ed94df44 100644
--- a/libdiskfs/node-rdwr.c
+++ b/libdiskfs/node-rdwr.c
@@ -45,6 +45,8 @@ diskfs_node_rdwr (struct node *np,
err = diskfs_grow (np, off + amt, cred);
if (err)
return err;
+ if (np->filemod_reqs)
+ diskfs_notice_filechange (np, FILE_CHANGED_EXTEND, 0, off + amt);
}
if (off + amt > np->dn_stat.st_size)