From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: "Maciej W. Rozycki" <macro@linux-mips.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] 2.6.21: nfs_readpages: Add missing braces
Date: Mon, 21 May 2007 09:24:05 -0400 [thread overview]
Message-ID: <1179753845.6535.9.camel@heimdal.trondhjem.org> (raw)
In-Reply-To: <Pine.LNX.4.64N.0705211402170.8263@blysk.ds.pg.gda.pl>
On Mon, 2007-05-21 at 14:09 +0100, Maciej W. Rozycki wrote:
> A change a while ago added a call to gather statistics to a conditional
> statement, but braces were missed on that occasion resulting in a change
> of semanticts. This a change to rectify.
So you are proposing this as a stable update? It won't apply on
2.6.22-rc2.
Cheers
Trond
> Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
> ---
> It should be obvious -- please apply.
>
> Maciej
>
> patch-mips-2.6.18-20060920-nfs_readpages-0
> diff -up --recursive --new-file linux-mips-2.6.18-20060920.macro/fs/nfs/read.c linux-mips-2.6.18-20060920/fs/nfs/read.c
> --- linux-mips-2.6.18-20060920.macro/fs/nfs/read.c 2006-09-20 14:20:24.000000000 +0000
> +++ linux-mips-2.6.18-20060920/fs/nfs/read.c 2007-05-20 15:01:31.000000000 +0000
> @@ -696,9 +696,10 @@ int nfs_readpages(struct file *filp, str
> ret = read_cache_pages(mapping, pages, readpage_async_filler, &desc);
> if (!list_empty(&head)) {
> int err = nfs_pagein_list(&head, server->rpages);
> - if (!ret)
> + if (!ret) {
> nfs_add_stats(inode, NFSIOS_READPAGES, err);
> ret = err;
> + }
> }
> put_nfs_open_context(desc.ctx);
> return ret;
next prev parent reply other threads:[~2007-05-21 13:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-21 13:09 Maciej W. Rozycki
2007-05-21 13:24 ` Trond Myklebust [this message]
2007-05-21 14:07 ` Maciej W. Rozycki
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=1179753845.6535.9.camel@heimdal.trondhjem.org \
--to=trond.myklebust@fys.uio.no \
--cc=linux-kernel@vger.kernel.org \
--cc=macro@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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
all inboxes | Powered by JetHome®