summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/serial.c
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2012-10-15 17:20:17 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-10-28 10:59:37 -0700
commit1a25b1c4ce189e3926f2981f3302352a930086db (patch)
tree8db002bfdbaec616392f563d96621bfd5fbcfcd5 /arch/arm/mach-omap2/serial.c
parent1bf11c53535ab87e3bf14ecdf6747bf46f601c5d (diff)
downloadblackbird-op-linux-1a25b1c4ce189e3926f2981f3302352a930086db.tar.gz
blackbird-op-linux-1a25b1c4ce189e3926f2981f3302352a930086db.zip
Lock splice_read and splice_write functions
Functions generic_file_splice_read and generic_file_splice_write access the pagecache directly. For block devices these functions must be locked so that block size is not changed while they are in progress. This patch is an additional fix for commit b87570f5d349 ("Fix a crash when block device is read and block size is changed at the same time") that locked aio_read, aio_write and mmap against block size change. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arm/mach-omap2/serial.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud