diff options
-rw-r--r-- | libdiskfs/io-sigio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/io-sigio.c b/libdiskfs/io-sigio.c index ba751a87..1b8fd0d3 100644 --- a/libdiskfs/io-sigio.c +++ b/libdiskfs/io-sigio.c @@ -30,7 +30,7 @@ diskfs_S_io_sigio (struct protid *cred) mutex_lock (&cred->po->np->lock); if (cred->po->openstat & O_FSYNC) - diskfs_file_update (1); + diskfs_file_update (cred->po->np, 1); mutex_unlock (&cred->po->np->lock); return 0; } |