summaryrefslogtreecommitdiffstats
path: root/virt/kvm/arm
diff options
context:
space:
mode:
authorDave Hansen <dave.hansen@linux.intel.com>2014-12-12 16:58:22 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2014-12-13 12:42:52 -0800
commit07a46ed27dc6344de831a450df82336270a157a9 (patch)
tree01d7b8df9f8419878ab9e6ff0678ee26ae20d00c /virt/kvm/arm
parentd3c97900b427b8d5a476fdfe484267f09df418d6 (diff)
downloadop-kernel-dev-07a46ed27dc6344de831a450df82336270a157a9.zip
op-kernel-dev-07a46ed27dc6344de831a450df82336270a157a9.tar.gz
shmdt: use i_size_read() instead of ->i_size
Andrew Morton noted http://lkml.kernel.org/r/20141104142027.a7a0d010772d84560b445f59@linux-foundation.org that the shmdt uses inode->i_size outside of i_mutex being held. There is one more case in shm.c in shm_destroy(). This converts both users over to use i_size_read(). Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Cc: Manfred Spraul <manfred@colorfullife.com> Cc: Davidlohr Bueso <dave@stgolabs.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'virt/kvm/arm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud