commit ddcbf688832d3fc6a132c02d528d30c9f09e5432
Author: Erez Zadok <[EMAIL PROTECTED]>
Date:   Mon Nov 12 22:33:52 2007 -0500

    Unionfs: remove unnecessary lower atime updates
    
    No need for this because our readpage calls vfs_read on the lower objects,
    which would update the atime as/if needed.
    
    Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>

diff --git a/fs/unionfs/file.c b/fs/unionfs/file.c
index ccf3ded..32749a3 100644
--- a/fs/unionfs/file.c
+++ b/fs/unionfs/file.c
@@ -31,10 +31,6 @@ static ssize_t unionfs_read(struct file *file, char __user 
*buf,
 
        err = do_sync_read(file, buf, count, ppos);
 
-       if (err >= 0)
-               touch_atime(unionfs_lower_mnt(file->f_dentry),
-                           unionfs_lower_dentry(file->f_dentry));
-
 out:
        unionfs_read_unlock(file->f_dentry->d_sb);
        unionfs_check_file(file);
@@ -58,10 +54,6 @@ static ssize_t unionfs_aio_read(struct kiocb *iocb, char 
__user *iov,
        if (err == -EIOCBQUEUED)
                err = wait_on_sync_kiocb(iocb);
 
-       if (err >= 0)
-               touch_atime(unionfs_lower_mnt(file->f_dentry),
-                           unionfs_lower_dentry(file->f_dentry));
-
 out:
        unionfs_read_unlock(file->f_dentry->d_sb);
        unionfs_check_file(file);
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs

Reply via email to