diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2011-08-30 21:57:10 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-09-06 23:49:29 (GMT) |
commit | f19885fadfdb0bf410b5e31c7dc2f2be7815e454 (patch) | |
tree | 530f344ae8d8f8a784faa32697f34473f406fdb8 /fs/xfs/xfs_rw.h | |
parent | 129957069e6af42a6e021d90679c56662c95f7e1 (diff) | |
download | linux-fsl-qoriq-f19885fadfdb0bf410b5e31c7dc2f2be7815e454.tar.xz |
staging: sep: call to sep_ioctl() may leave driver in unusable state
If sep_ioctl() is called from a process that does not own
current transaction, it unlocks unheld sep->ioctl_mutex and
returns -EACCES leaving sep->sep_mutex acquired.
The patch fixes the mutex lock-unlock mismatch.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/xfs/xfs_rw.h')
0 files changed, 0 insertions, 0 deletions