summaryrefslogtreecommitdiff
path: root/drivers/staging/tidspbridge
diff options
context:
space:
mode:
authorKarlis Ogsts <karlis.ogsts@sonymobile.com>2013-07-23 00:51:42 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-24 02:08:50 +0400
commit72bb99cfe9c57d2044445fb34bbc95b4c0bae6f2 (patch)
tree6a16268fd96d01eda5d3a592415f94dbd0505d65 /drivers/staging/tidspbridge
parent644d478793c6594277f8ae76954da4ace7ac6f96 (diff)
downloadlinux-72bb99cfe9c57d2044445fb34bbc95b4c0bae6f2.tar.xz
staging: android: logger: Correct write offset reset on error
In the situation that a writer fails to copy data from userspace it will reset the write offset to the value it had before it went to sleep. This discarding any messages written while aquiring the mutex. Therefore the reset offset needs to be retrieved after acquiring the mutex. Cc: Android Kernel Team <kernel-team@android.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/tidspbridge')
0 files changed, 0 insertions, 0 deletions