public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@xenotime•net>
To: Jan Kara <jack@suse•cz>
Cc: Stephen Rothwell <sfr@canb•auug.org.au>,
	linux-next@vger•kernel.org, LKML <linux-kernel@vger•kernel.org>
Subject: Re: linux-next: Tree for February 25 (quota)
Date: Mon, 01 Mar 2010 08:56:20 -0800	[thread overview]
Message-ID: <4B8BF1B4.7040502@xenotime.net> (raw)
In-Reply-To: <20100301132752.GG3271@quack.suse.cz>

On 03/01/10 05:27, Jan Kara wrote:
> On Thu 25-02-10 09:21:39, Randy Dunlap wrote:
>> On 02/24/10 23:35, Stephen Rothwell wrote:
>>> Hi all,
>>>
>>> Changes since 20100224:
>>
>>
>> When CONFIG_BLOCK=n:
>>
>> fs/quota/dquot.c:2042: error: implicit declaration of function 'fsync_bdev'
>   Thanks for notification. I've fixed this by the following patch:
> 
> From 9007983e9bf994200194727bcb87d45bb924b4a8 Mon Sep 17 00:00:00 2001
> From: Jan Kara <jack@suse•cz>
> Date: Mon, 1 Mar 2010 14:24:36 +0100
> Subject: [PATCH] vfs: Provide empty fsync_bdev if !CONFIG_BLOCK
> 
> Provide empty declaration of fsync_bdev when CONFIG_BLOCK is not defined so
> that quota code can use it.
> 
> Signed-off-by: Jan Kara <jack@suse•cz>
> ---
>  include/linux/fs.h |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
> 
> diff --git a/include/linux/fs.h b/include/linux/fs.h
> index ebb1cd5..b9e4f1c 100644
> --- a/include/linux/fs.h
> +++ b/include/linux/fs.h
> @@ -1961,6 +1961,11 @@ static inline int thaw_bdev(struct block_device *bdev, struct super_block *sb)
>  {
>  	return 0;
>  }
> +
> +static inline int fsync_bdev(struct block_device *bdev)
> +{
> +	return 0;
> +}
>  #endif
>  extern int sync_filesystem(struct super_block *);
>  extern const struct file_operations def_blk_fops;

Acked-by: Randy Dunlap <rdunlap@xenotime•net>

Thanks.
-- 
~Randy

  reply	other threads:[~2010-03-01 16:56 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-25  7:35 linux-next: Tree for February 25 Stephen Rothwell
2010-02-25 17:21 ` linux-next: Tree for February 25 (quota) Randy Dunlap
2010-03-01 13:27   ` Jan Kara
2010-03-01 16:56     ` Randy Dunlap [this message]
2010-02-25 17:55 ` [PATCH -next] staging: fix wlan-ng printk format warning Randy Dunlap
2010-02-25 17:55 ` [PATCH -next] fs: fix compat_ioctl when CONFIG_BLOCK=n Randy Dunlap
2010-02-25 21:27   ` [PATCH -next] pktcdvd: improve BKL and compat_ioctl.c usage Arnd Bergmann
2010-02-25 22:10     ` Randy Dunlap
2010-03-02 12:06       ` Ingo Molnar
2010-03-02 23:38         ` Stephen Rothwell
2010-02-25 22:41 ` [PATCH -next] staging/pohmelfs: fix write_inode parameter warning Randy Dunlap
2010-02-26  0:41   ` Stephen Rothwell
2010-03-07  9:22   ` Geert Uytterhoeven
2010-03-07 15:50     ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B8BF1B4.7040502@xenotime.net \
    --to=rdunlap@xenotime$(echo .)net \
    --cc=jack@suse$(echo .)cz \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=sfr@canb$(echo .)auug.org.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox