From: "Joakim Tjernlund" <joakim.tjernlund@transmode.se>
To: <linux-mtd@lists.infradead.org>
Subject: RE: [PATCH] Obsolete nodes that are unlinked when possible
Date: Thu, 19 Apr 2007 21:34:06 +0200 [thread overview]
Message-ID: <006f01c782b9$b23ecfd0$020120ac@Jocke> (raw)
In-Reply-To: <1174059907.26465.228.camel@gentoo-jocke.transmode.se>
Ping.
> -----Original Message-----
> From: linux-mtd-bounces@lists.infradead.org
> [mailto:linux-mtd-bounces@lists.infradead.org] On Behalf Of
> Joakim Tjernlund
> Sent: den 16 mars 2007 16:45
> To: linux-mtd@lists.infradead.org
> Subject: [PATCH] Obsolete nodes that are unlinked when possible
>
> >From d3e51689869fae928f6289307452a698359302ff Mon Sep 17
> 00:00:00 2001
> From: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
> Date: Fri, 16 Mar 2007 16:15:45 +0100
> Subject: [PATCH] Obsolete nodes that are unlinked when possible.
>
>
> Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
> ---
> fs/jffs2/write.c | 3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/fs/jffs2/write.c b/fs/jffs2/write.c
> index 6717679..57a79a6 100644
> --- a/fs/jffs2/write.c
> +++ b/fs/jffs2/write.c
> @@ -507,8 +507,7 @@ int jffs2_do_unlink(struct jffs2_sb_info
> *c, struct jffs2_inode_info *dir_f,
> uint32_t alloclen;
> int ret;
>
> - if (1 /* alternative branch needs testing */ ||
> - !jffs2_can_mark_obsolete(c)) {
> + if (!jffs2_can_mark_obsolete(c)) {
> /* We can't mark stuff obsolete on the medium.
> We need to write a deletion dirent */
>
> rd = jffs2_alloc_raw_dirent();
> --
> 1.4.4.4
>
>
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
>
>
>
next prev parent reply other threads:[~2007-04-19 19:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-16 15:45 [PATCH] Obsolete nodes that are unlinked when possible Joakim Tjernlund
2007-03-16 16:14 ` Joakim Tjernlund
2007-03-16 16:27 ` Artem Bityutskiy
2007-03-16 17:04 ` Joakim Tjernlund
2007-03-16 17:26 ` Artem Bityutskiy
2007-03-19 10:55 ` Ferenc Havasi
2007-03-19 14:56 ` Joakim Tjernlund
2007-04-19 19:34 ` Joakim Tjernlund [this message]
2007-04-20 21:13 ` David Woodhouse
2007-04-21 8:56 ` Joakim Tjernlund
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='006f01c782b9$b23ecfd0$020120ac@Jocke' \
--to=joakim.tjernlund@transmode.se \
--cc=linux-mtd@lists.infradead.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