From: Nick Piggin <npiggin@suse.de>
To: Badari Pulavarty <pbadari@gmail.com>
Cc: Linux Filesystems <linux-fsdevel@vger.kernel.org>,
Mark Fasheh <mark.fasheh@oracle.com>,
dgc@sgi.com
Subject: Re: 2.6.21-rc5-git12 new aops patchset
Date: Fri, 6 Apr 2007 03:39:53 +0200 [thread overview]
Message-ID: <20070406013953.GB32090@wotan.suse.de> (raw)
In-Reply-To: <1175790155.13125.16.camel@dyn9047017100.beaverton.ibm.com>
On Thu, Apr 05, 2007 at 09:22:35AM -0700, Badari Pulavarty wrote:
> On Thu, 2007-04-05 at 11:46 +0200, Nick Piggin wrote:
> > http://www.kernel.org/pub/linux/kernel/people/npiggin/patches/new-aops/
> >
> > Files are 2.6.21-rc5-git12*
>
>
> ext3_ordered_write_end() did
>
> + ret = block_write_end(file, mapping, pos, len, copied, page, fsdata);
> + if (ret >= 0)
> + copied = ret;
> }
> ret2 = ext3_journal_stop(handle);
> if (!ret)
> ret = ret2;
> - return ret;
> + return ret ? ret : copied;
>
> If we do this, we are going to ignore ext3_journal_stop() errors
> almost all the time (since "ret" will be mostly positive).
>
> Instead can we do this ?
>
> + copied = block_write_end(file, mapping, pos, len, copied, page, fsdata);
> + if (copied < 0)
> + ret = copied;
Definitely, thank you.
Nick
next prev parent reply other threads:[~2007-04-06 1:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-05 9:46 2.6.21-rc5-git12 new aops patchset Nick Piggin
2007-04-05 16:22 ` Badari Pulavarty
2007-04-06 1:39 ` Nick Piggin [this message]
2007-04-05 18:10 ` Mark Fasheh
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=20070406013953.GB32090@wotan.suse.de \
--to=npiggin@suse.de \
--cc=dgc@sgi.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=mark.fasheh@oracle.com \
--cc=pbadari@gmail.com \
/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;
as well as URLs for NNTP newsgroup(s).