aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt2sas/mpi/mpi2_ioc.h
diff options
context:
space:
mode:
authorNeilBrown <[email protected]>2015-01-13 02:17:43 +0000
committerJeff Layton <[email protected]>2015-01-13 12:00:55 +0000
commit52d304eb4eaced9ad04b64ba7cd6ceb5153bbf18 (patch)
tree68ef398f3f7ab3996a79cf1361adb92a0ed0fe4f /drivers/scsi/mpt2sas/mpi/mpi2_ioc.h
parentMerge tag 'gpio-v3.19-3' of git://git.kernel.org/pub/scm/linux/kernel/git/lin... (diff)
downloadkernel-52d304eb4eaced9ad04b64ba7cd6ceb5153bbf18.tar.gz
kernel-52d304eb4eaced9ad04b64ba7cd6ceb5153bbf18.zip
locks: fix NULL-deref in generic_delete_lease
commit 0efaa7e82f02fe69c05ad28e905f31fc86e6f08e locks: generic_delete_lease doesn't need a file_lock at all moves the call to fl->fl_lmops->lm_change() to a place in the code where fl might be a non-lease lock. When that happens, fl_lmops is NULL and an Oops ensures. So add an extra test to restore correct functioning. Reported-by: Linda Walsh <[email protected]> Link: https://bugzilla.suse.com/show_bug.cgi?id=912569 Cc: [email protected] (v3.18) Fixes: 0efaa7e82f02fe69c05ad28e905f31fc86e6f08e Signed-off-by: NeilBrown <[email protected]> Signed-off-by: Jeff Layton <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_ioc.h')
0 files changed, 0 insertions, 0 deletions