From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765709AbXJROUx (ORCPT ); Thu, 18 Oct 2007 10:20:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757757AbXJROUq (ORCPT ); Thu, 18 Oct 2007 10:20:46 -0400 Received: from brick.kernel.dk ([87.55.233.238]:10139 "EHLO kernel.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757488AbXJROUq (ORCPT ); Thu, 18 Oct 2007 10:20:46 -0400 Date: Thu, 18 Oct 2007 16:20:06 +0200 From: Jens Axboe To: Emil Medve Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, torvalds@linux-foundation.org Subject: Re: [PATCH] Fix a build error when BLOCK=n Message-ID: <20071018142006.GR5063@kernel.dk> References: <1192716363-31661-1-git-send-email-Emilian.Medve@Freescale.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1192716363-31661-1-git-send-email-Emilian.Medve@Freescale.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 18 2007, Emil Medve wrote: > mm/filemap.c: In function '__filemap_fdatawrite_range': > mm/filemap.c:200: error: implicit declaration of function 'mapping_cap_writeback_dirty' > > This happens when we don't use/have any block devices and a NFS root filesystem > is used > > mapping_cap_writeback_dirty() is defined in linux/backing-dev.h which used to be > provided in mm/filemap.c by linux/blkdev.h until commit > f5ff8422bbdd59f8c1f699df248e1b7a11073027 > > Signed-off-by: Emil Medve > --- > > Also removed some trailing whitespaces Don't include the whitespace cleanup with this change, send it seperately. For the include fix: Acked-by: Jens Axboe -- Jens Axboe