summaryrefslogtreecommitdiffstats
path: root/fs/namei.c
diff options
context:
space:
mode:
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>2015-09-29 16:27:24 +0200
committerChristian Borntraeger <borntraeger@de.ibm.com>2015-10-13 15:50:34 +0200
commit5a3d883a59b3fe8dc8775c7a79200a5b11a6761e (patch)
treea1b60ce1821f86e3a6fc30e32ba3228d5525f6f6 /fs/namei.c
parentKVM: s390: correctly handle injection of pgm irqs and per events (diff)
downloadlinux-5a3d883a59b3fe8dc8775c7a79200a5b11a6761e.tar.xz
linux-5a3d883a59b3fe8dc8775c7a79200a5b11a6761e.zip
KVM: s390: switch to get_tod_clock() and fix STP sync races
Nobody except early.c makes use of store_tod_clock() to handle the cc. So if we would get a cc != 0, we would be in more trouble. Let's replace all users with get_tod_clock(). Returning a cc on an ioctl sounded strange either way. We can now also easily move the get_tod_clock() call into the preempt_disable() section. This is in fact necessary to make the STP sync work as expected. Otherwise the host TOD could change and we would end up with a wrong epoch calculation. Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'fs/namei.c')
0 files changed, 0 insertions, 0 deletions