Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754360Ab0D0JSu (ORCPT ); Tue, 27 Apr 2010 05:18:50 -0400 Received: from mail-qy0-f179.google.com ([209.85.221.179]:52542 "EHLO mail-qy0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754330Ab0D0JSr (ORCPT ); Tue, 27 Apr 2010 05:18:47 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; b=LCwiSufRGvmvckdnYZEX4a7QidNgEvCDDEdjMtAVfdkrgFzI+qwz3H0vO5QFsVMH9d f2DTTUP//igbX2syjrwRLIALsrriMoMP7SI/erzJtvEDxapyJVDi9n2y1qvlZgIwA7dS S0WTr/Rgp3ktNAhkZ+l5notUEUGt+cefsce3I= From: John Kacur To: Arnd Bergmann , lkml Cc: John Kacur , Arnd Bergmann , Linus Torvalds , Frederic Weisbecker , Jan Blunck , Thomas Gleixner Subject: [PATCH 05/10] bkl: Fix missing inode in twl_chrdev_ioctl resulting from bkl pushdown Date: Tue, 27 Apr 2010 11:18:13 +0200 Message-Id: <1272359898-32020-6-git-send-email-jkacur@redhat.com> X-Mailer: git-send-email 1.6.6.1 In-Reply-To: <1272359898-32020-1-git-send-email-jkacur@redhat.com> References: <1272359898-32020-1-git-send-email-jkacur@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1030 Lines: 28 Fix missing inode in twl_chrdev_ioctl resulting from bkl pushdown, because the ioctl is now an unlocked ioctl. Signed-off-by: John Kacur --- drivers/scsi/3w-sas.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/scsi/3w-sas.c b/drivers/scsi/3w-sas.c index ab4ad09..216af13 100644 --- a/drivers/scsi/3w-sas.c +++ b/drivers/scsi/3w-sas.c @@ -756,6 +756,7 @@ static long twl_chrdev_ioctl(struct file *file, unsigned int cmd, unsigned long unsigned long *cpu_addr, data_buffer_length_adjusted = 0, flags = 0; dma_addr_t dma_handle; int request_id = 0; + struct inode *inode = file->f_dentry->d_inode; TW_Ioctl_Driver_Command driver_command; TW_Ioctl_Buf_Apache *tw_ioctl; TW_Command_Full *full_command_packet; -- 1.6.6.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/