From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Josef 'Jeff' Sipek" Subject: Re: fs_stack/eCryptfs: remove 3rd arg of copy_attr_all, add locking to copy_inode_size Date: Thu, 3 Apr 2008 14:20:01 -0400 Message-ID: <20080403182001.GB30189@josefsipek.net> References: <200804030149.m331nBCv005555@agora.fsl.cs.sunysb.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: akpm@linux-foundation.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Al Viro , hch@infradead.org To: Erez Zadok Return-path: Received: from filer.fsl.cs.sunysb.edu ([130.245.126.2]:41846 "EHLO filer.fsl.cs.sunysb.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752354AbYDCSUI (ORCPT ); Thu, 3 Apr 2008 14:20:08 -0400 Content-Disposition: inline In-Reply-To: <200804030149.m331nBCv005555@agora.fsl.cs.sunysb.edu> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Wed, Apr 02, 2008 at 09:49:11PM -0400, Erez Zadok wrote: ... > +#if BITS_PER_LONG == 32 && defined(CONFIG_SMP) > + spin_lock(&dst->i_lock); > +#endif I think you need to check CONFIG_PREEMPT as well. Josef 'Jeff' Sipek. -- The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. - George Bernard Shaw