All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ryan Hope <rmh3093@gmail.com>
To: LKML <linux-kernel@vger.kernel.org>,
	Reiserfs mailing list <reiserfs-devel@vger.kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Edward Shishkin <edward.shishkin@gmail.com>
Subject: [PATCH 2/3][reiser4] don't leave loop prematurely
Date: Mon, 11 Aug 2008 18:38:17 -0400	[thread overview]
Message-ID: <48A0BF59.4050605@gmail.com> (raw)

This was item #9 on the todo list for reiser4 inclusion in mainline:

diff --git a/52d76fde71070a6c4c8c581dd2bfe3c6ffa82ad7:fs/reiser4/page_cache.c 
b/7f1ee1bb0c5a2948f5347646795afd088da30eaf:fs/reiser4/page_cache.c
index 
edf0911dc8bb61398374ecf4f849aa30753fb274..fe713681b73d2a6c4214f5938f21794573d8607d 
100644
--- a/52d76fde71070a6c4c8c581dd2bfe3c6ffa82ad7:fs/reiser4/page_cache.c
+++ b/7f1ee1bb0c5a2948f5347646795afd088da30eaf:fs/reiser4/page_cache.c
@@ -658,8 +658,7 @@ truncate_jnodes_range(struct inode *inode, pgoff_t from, 
pgoff_t count)
  				unhash_unformatted_jnode(node);
  				truncated_jnodes++;
  				jput(node);
-			} else
-				break;
+			}
  		}
  		if (i != taken || taken == 0)
  			break;


-Ryan

             reply	other threads:[~2008-08-11 22:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-11 22:38 Ryan Hope [this message]
2008-08-12 12:54 ` [PATCH 2/3][reiser4] don't leave loop prematurely Edward Shishkin

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=48A0BF59.4050605@gmail.com \
    --to=rmh3093@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=edward.shishkin@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=reiserfs-devel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.