]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/vfs/vfs_bio.c
xnu-1228.15.4.tar.gz
[apple/xnu.git] / bsd / vfs / vfs_bio.c
index 3871c2a3b5afeb992c24b54eed4c89811293a937..026109d2133e32b5c9bce7f10de286194fdf1b05 100644 (file)
@@ -3154,6 +3154,10 @@ buf_biodone(buf_t bp)
                fslog_io_error(bp);
        }
 
+       if (bp->b_vp && bp->b_vp->v_mount && (bp->b_flags & B_READ) == 0) {
+               update_last_io_time(bp->b_vp->v_mount);
+       }
+
         if (kdebug_enable) {
                int    code = DKIO_DONE;