From mboxrd@z Thu Jan 1 00:00:00 1970 From: Artem Bityutskiy Subject: Re: [PATCH v2 00/17] abstract out the super block clean/dirty state Date: Thu, 04 Jun 2009 11:53:59 +0300 Message-ID: <4A278BA7.6040007@nokia.com> References: <1244112114-23144-1-git-send-email-dedekind@infradead.org> Reply-To: Artem.Bityutskiy@nokia.com Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Christoph Hellwig To: Al Viro Return-path: Received: from smtp.nokia.com ([192.100.122.233]:35260 "EHLO mgw-mx06.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752949AbZFDIyv (ORCPT ); Thu, 4 Jun 2009 04:54:51 -0400 In-Reply-To: <1244112114-23144-1-git-send-email-dedekind@infradead.org> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Artem Bityutskiy wrote: > From: Artem Bityutskiy >=20 > Hi, >=20 > here is a set of trivial patches which encapsulate the 'sb->s_dirt' v= ariable > into 3 new helper VFS functions: >=20 > * static inline void mark_sb_dirty(struct super_block *sb) > * static inline void mark_sb_clean(struct super_block *sb) > * static inline int sb_is_dirty(struct super_block *sb) >=20 > With these patches the whole Linux kernel tree has only 3 places wher= e > 'sb->s_dirt' is referred. Sorry, forgot to mention that the patches were made on top of the VFS tree: git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6.git for-next commit f932bb0daca28ffe69ec876043cac00bc9b50147 Author: Theodore Ts'o Date: Tue May 12 07:37:56 2009 -0400 Fix nobh_truncate_page() to not pass stack garbage to get_block() And they are also available at git://git.infradead.org/users/dedekind/misc-2.6.git sb-helpers-v1 --=20 Best Regards, Artem Bityutskiy (=D0=90=D1=80=D1=82=D1=91=D0=BC =D0=91=D0=B8=D1=82=D1=8E= =D1=86=D0=BA=D0=B8=D0=B9) -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel= " in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html