[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20101025045326.GW5985@bicker>
Date: Mon, 25 Oct 2010 06:53:27 +0200
From: Dan Carpenter <error27@...il.com>
To: Christoph Hellwig <hch@...era.com>
Cc: Frederic Weisbecker <fweisbec@...il.com>,
Arnd Bergmann <arnd@...db.de>, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: [patch] hfsplus: fix double lock typo in ioctl
This was supposed to be a mutex_unlock() instead of a mutex_lock().
Signed-off-by: Dan Carpenter <error27@...il.com>
diff --git a/fs/hfsplus/ioctl.c b/fs/hfsplus/ioctl.c
index 5b4667e..40a85a3 100644
--- a/fs/hfsplus/ioctl.c
+++ b/fs/hfsplus/ioctl.c
@@ -92,7 +92,7 @@ static int hfsplus_ioctl_setflags(struct file *file, int __user *user_flags)
mark_inode_dirty(inode);
out_unlock_inode:
- mutex_lock(&inode->i_mutex);
+ mutex_unlock(&inode->i_mutex);
out_drop_write:
mnt_drop_write(file->f_path.mnt);
out:
--
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