Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932555Ab2HPNYd (ORCPT ); Thu, 16 Aug 2012 09:24:33 -0400 Received: from natasha.panasas.com ([67.152.220.90]:36978 "EHLO natasha.panasas.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932088Ab2HPNY3 (ORCPT ); Thu, 16 Aug 2012 09:24:29 -0400 Message-ID: <502CF46A.4040507@panasas.com> Date: Thu, 16 Aug 2012 16:23:54 +0300 From: Boaz Harrosh User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111113 Thunderbird/8.0 MIME-Version: 1.0 To: Marco Stornelli CC: , , Andrew Morton , , , , , Al Viro , , , , Linux Kernel , , Linux FS Devel Subject: Re: [PATCH 2/8] exofs: remove lock/unlock super References: <502CC4AA.6040702@gmail.com> In-Reply-To: <502CC4AA.6040702@gmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1241 Lines: 39 On 08/16/2012 01:00 PM, Marco Stornelli wrote: > From: Marco Stornelli > > Remove lock and unlock super operation. > ACK-by: Boaz Harrosh > Signed-off-by: Marco Stornelli > --- > diff -Nurp linux-3.6-rc1-orig/fs/exofs/super.c linux-3.6-rc1/fs/exofs/super.c > --- linux-3.6-rc1-orig/fs/exofs/super.c 2012-08-16 09:37:31.000000000 +0200 > +++ linux-3.6-rc1/fs/exofs/super.c 2012-08-16 09:45:31.000000000 +0200 > @@ -384,8 +384,6 @@ static int exofs_sync_fs(struct super_bl > if (unlikely(ret)) > goto out; > - lock_super(sb); > - > ios->length = offsetof(struct exofs_fscb, s_dev_table_oid); > memset(fscb, 0, ios->length); > fscb->s_nextid = cpu_to_le64(sbi->s_nextid); > @@ -403,8 +401,6 @@ static int exofs_sync_fs(struct super_bl > else > sb->s_dirt = 0; > - > - unlock_super(sb); > out: > EXOFS_DBGMSG("s_nextid=0x%llx ret=%d\n", _LLU(sbi->s_nextid), ret); > ore_put_io_state(ios); -- 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/