Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751817AbXFDCRy (ORCPT ); Sun, 3 Jun 2007 22:17:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751032AbXFDCRp (ORCPT ); Sun, 3 Jun 2007 22:17:45 -0400 Received: from filer.fsl.cs.sunysb.edu ([130.245.126.2]:50958 "EHLO filer.fsl.cs.sunysb.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750991AbXFDCRp (ORCPT ); Sun, 3 Jun 2007 22:17:45 -0400 From: "Josef 'Jeff' Sipek" To: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Cc: akpm@linux-foundation.org, "Josef 'Jeff' Sipek" Subject: [PATCH -mm] Unionfs: Fix lock leak in unionfs_ioctl Date: Sun, 3 Jun 2007 22:17:35 -0400 Message-Id: <11809234553416-git-send-email-jsipek@cs.sunysb.edu> X-Mailer: git-send-email 1.5.2.rc1.165.gaf9b Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 988 Lines: 35 (This patch is already in the Unionfs git tree. This is just a heads up.) Signed-off-by: Josef 'Jeff' Sipek --- fs/unionfs/commonfops.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/unionfs/commonfops.c b/fs/unionfs/commonfops.c index 83001aa..1045e51 100644 --- a/fs/unionfs/commonfops.c +++ b/fs/unionfs/commonfops.c @@ -635,7 +635,6 @@ static long do_ioctl(struct file *file, unsigned int cmd, unsigned long arg) } out: - unionfs_read_unlock(file->f_dentry->d_sb); return err; } @@ -709,6 +708,7 @@ long unionfs_ioctl(struct file *file, unsigned int cmd, unsigned long arg) } out: + unionfs_read_unlock(file->f_dentry->d_sb); return err; } -- 1.5.2.rc1.165.gaf9b - 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/