summaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/vmd.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2020-01-15 06:26:00 +0100
committerAndreas Gruenbacher <agruenba@redhat.com>2020-01-15 15:20:07 +0100
commit2b0fb353c029de78f9fb9462290af3f2432749b9 (patch)
tree382e0f3bcc46c3655ca71fcd5c4c3a34ca16fd9a /drivers/pci/controller/vmd.c
parente556280d3691651c38022feaab6d6075adaa03bf (diff)
downloadlinux-2b0fb353c029de78f9fb9462290af3f2432749b9.tar.bz2
gfs2: Avoid access time thrashing in gfs2_inode_lookup
In gfs2_inode_lookup, we initialize inode->i_atime to the lowest possibly value after gfs2_inode_refresh may already have been called. This should be the other way around, but we didn't notice because usually the inode type is known from the directory entry and so gfs2_inode_lookup won't call gfs2_inode_refresh. In addition, only initialize ip->i_no_formal_ino from no_formal_ino when actually needed. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'drivers/pci/controller/vmd.c')
0 files changed, 0 insertions, 0 deletions