VirtualBox

Ignore:
Timestamp:
Mar 10, 2019 2:58:14 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
129257
Message:

linux/vboxsf: Fixed TTL calc bug in vbsf_dentry_revalidate(). bugref:9172

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/sharedfolders/utils.c

    r77561 r77629  
    965965             */
    966966            //struct vbsf_inode_info *sf_i = VBSF_GET_INODE_INFO(pInode);
    967             unsigned long const     cJiffiesAge = vbsf_dentry_get_update_jiffies(dentry) - jiffies;
     967            unsigned long const     cJiffiesAge = jiffies - vbsf_dentry_get_update_jiffies(dentry);
    968968            struct vbsf_super_info *sf_g        = VBSF_GET_SUPER_INFO(dentry->d_sb);
    969969            if (cJiffiesAge < sf_g->ttl) {
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette