From mboxrd@z Thu Jan 1 00:00:00 1970 From: Theodore Tso Subject: Re: [PATCH 1/8] writeback: move super_block argument to struct writeback_control Date: Tue, 1 Sep 2009 07:55:51 -0400 Message-ID: <20090901115551.GA727@mit.edu> References: <1251803946-9243-1-git-send-email-jens.axboe@oracle.com> <1251803946-9243-2-git-send-email-jens.axboe@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, chris.mason@oracle.com, david@fromorbit.com, hch@infradead.org, akpm@linux-foundation.org, jack@suse.cz To: Jens Axboe Return-path: Received: from thunk.org ([69.25.196.29]:46753 "EHLO thunker.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753885AbZIALz7 (ORCPT ); Tue, 1 Sep 2009 07:55:59 -0400 Content-Disposition: inline In-Reply-To: <1251803946-9243-2-git-send-email-jens.axboe@oracle.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Tue, Sep 01, 2009 at 01:18:59PM +0200, Jens Axboe wrote: > Signed-off-by: Jens Axboe > --- > fs/ubifs/super.c | 3 ++- > include/linux/fs.h | 3 +-- > > diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c > @@ -462,7 +463,7 @@ static int ubifs_sync_fs(struct super_block *sb, = int wait) > * the user be able to get more accurate results of 'statfs()' afte= r > * they synchronize the file system. > */ > - generic_sync_sb_inodes(sb, &wbc); > + generic_sync_sb_inodes(&wbc); > =20 > /* > * Synchronize write buffers, because 'ubifs_run_commit()' does not I just tried compiling per-bdi v15 against the latest git HEAD, and the compilation failed: fs/ubifs/super.c: In function =E2=80=98ubifs_sync_fs=E2=80=99: fs/ubifs/super.c:465: warning: passing argument 1 of =E2=80=98generic_s= ync_sb_inodes=E2=80=99 from incompatible pointer type fs/ubifs/super.c:465: error: too many arguments to function =E2=80=98ge= neric_sync_sb_inodes=E2=80=99 Looks like the latest version of fs/ubifs/super.c added a call to generic_sync_sb_inodes that needs to be fixed up. Line 465: generic_sync_sb_inodes(sb, &wbc); - Ted -- 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