From: Oleg Drokin <green@namesys.com>
To: Daniel Blueman <daniel.blueman@gmx.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [2.6.0-test4] [BUG] reiserfs_writepage()
Date: Mon, 8 Sep 2003 13:13:33 +0400 [thread overview]
Message-ID: <20030908091333.GC17718@namesys.com> (raw)
In-Reply-To: <14963.1062928209@www51.gmx.net>
Hello!
On Sun, Sep 07, 2003 at 11:50:09AM +0200, Daniel Blueman wrote:
> Let me know if any more info would help on this!
> EIP is at end_page_writeback+0x6a/0x82
> [<c01df812>] reiserfs_write_full_page+0xe1/0x314
> [<c0196b8e>] mpage_writepages+0x3de/0x538
> [<c01dfa5b>] reiserfs_writepage+0x0/0x39
> [<c0147501>] do_writepages+0x37/0x39
This patch should help.
Bye,
Oleg
diff -Nru a/fs/reiserfs/inode.c b/fs/reiserfs/inode.c
--- a/fs/reiserfs/inode.c Mon Sep 8 12:54:12 2003
+++ b/fs/reiserfs/inode.c Mon Sep 8 12:54:12 2003
@@ -2048,8 +2048,8 @@
last_offset = inode->i_size & (PAGE_CACHE_SIZE - 1) ;
/* no file contents in this page */
if (page->index >= end_index + 1 || !last_offset) {
- error = 0 ;
- goto done ;
+ unlock_page(page);
+ return 0;
}
kaddr = kmap_atomic(page, KM_USER0);
memset(kaddr + last_offset, 0, PAGE_CACHE_SIZE-last_offset) ;
prev parent reply other threads:[~2003-09-08 9:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-07 9:50 [2.6.0-test4] [BUG] reiserfs_writepage() Daniel Blueman
2003-09-08 9:13 ` Oleg Drokin [this message]
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=20030908091333.GC17718@namesys.com \
--to=green@namesys.com \
--cc=daniel.blueman@gmx.net \
--cc=linux-kernel@vger.kernel.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