Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=a491486a2087ac3dfc00efb4f838c8d684afaf54
Commit:     a491486a2087ac3dfc00efb4f838c8d684afaf54
Parent:     ec98c681a5355469eee70227b7e0a88f0d688483
Author:     Joakim Tjernlund <[EMAIL PROTECTED]>
AuthorDate: Fri Mar 16 16:15:45 2007 +0100
Committer:  David Woodhouse <[EMAIL PROTECTED]>
CommitDate: Fri Apr 20 23:09:28 2007 -0400

    [JFFS2] Obsolete dirent nodes immediately on unlink, where possible.
    
    Signed-off-by: Joakim Tjernlund <[EMAIL PROTECTED]>
    Signed-off-by: David Woodhouse <[EMAIL PROTECTED]>
---
 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();
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to