From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Zarochentsev Subject: Re: reiser4 as module (reiser4-2004.06.01-17.16-linux-2.6.7-rc1-mm1 ) Date: Thu, 3 Jun 2004 14:25:31 +0400 Message-ID: <20040603102531.GL8091@backtop.namesys.com> References: <30825.1086176769@www56.gmx.net> Mime-Version: 1.0 Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com Content-Disposition: inline In-Reply-To: <30825.1086176769@www56.gmx.net> List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Svetoslav Slavtchev Cc: reiserfs-list@namesys.com On Wed, Jun 02, 2004 at 01:46:09PM +0200, Svetoslav Slavtchev wrote: > Hi all, > > i'm having problem with unresolved symbols, > when compiling the above auto bk-snapshot > with reiser4 as module, and i really need > to compile it as module > try this fix: ======================================== # This is a BitKeeper generated diff -Nru style patch. # # ChangeSet # 2004/06/03 14:07:30+04:00 zam@crimson.namesys.com # reiser4_clear_page_dirty: use page->mapping instead of the wrapper. # # as_ops.c # 2004/06/03 14:07:26+04:00 zam@crimson.namesys.com +1 -1 # reiser4_clear_page_dirty: use page->mapping instead of the wrapper. # diff -Nru a/as_ops.c b/as_ops.c --- a/as_ops.c Thu Jun 3 14:20:25 2004 +++ b/as_ops.c Thu Jun 3 14:20:25 2004 @@ -72,7 +72,7 @@ struct address_space *mapping; unsigned long flags; - mapping = page_mapping(page); + mapping = page->mapping; BUG_ON(mapping == NULL); read_lock_irqsave(&mapping->tree_lock, flags); ======================================== -- Alex.