err = do_sync_read(file, buf, count, ppos);
-#if 0
- FIXME: do_sync_read updates a time
if (err >= 0)
touch_atime(unionfs_lower_mnt(file->f_path.dentry),
- unionfs_lower_dentry(file->f_path.dentry));
-#endif
+ unionfs_lower_dentry(file->f_path.dentry));
out:
unionfs_read_unlock(file->f_dentry->d_sb);
if (err == -EIOCBQUEUED)
err = wait_on_sync_kiocb(iocb);
-#if 0
- XXX: is this needed?
if (err >= 0)
touch_atime(unionfs_lower_mnt(iocb->ki_filp->f_path.dentry),
- unionfs_lower_dentry(iocb->ki_filp->f_path.dentry));
-#endif
+ unionfs_lower_dentry(iocb->ki_filp->f_path.dentry));
#if 0
out:
err = unionfs_do_readpage(file, page);
+ if (!err)
+ touch_atime(unionfs_lower_mnt(file->f_path.dentry),
+ unionfs_lower_dentry(file->f_path.dentry));
+
/*
* we have to unlock our page, b/c we _might_ have gotten a locked
* page. but we no longer have to wakeup on our page here, b/c