[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1272359898-32020-6-git-send-email-jkacur@redhat.com>
Date: Tue, 27 Apr 2010 11:18:13 +0200
From: John Kacur <jkacur@...hat.com>
To: Arnd Bergmann <arnd@...db.de>, lkml <linux-kernel@...r.kernel.org>
Cc: John Kacur <jkacur@...hat.com>, Arnd Bergmann <arnd@...db.de>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Frederic Weisbecker <fweisbec@...il.com>,
Jan Blunck <jblunck@...il.com>,
Thomas Gleixner <tglx@...utronix.de>
Subject: [PATCH 05/10] bkl: Fix missing inode in twl_chrdev_ioctl resulting from bkl pushdown
Fix missing inode in twl_chrdev_ioctl resulting from bkl pushdown, because
the ioctl is now an unlocked ioctl.
Signed-off-by: John Kacur <jkacur@...hat.com>
---
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists