Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c3f49bc209b28d2b5f82b78baaa827eb3a4d1891
Commit:     c3f49bc209b28d2b5f82b78baaa827eb3a4d1891
Parent:     95d97b7dd7d7a7a13d11a38b3ecb64849d2e5086
Author:     Steven Whitehouse <[EMAIL PROTECTED]>
AuthorDate: Wed Mar 7 09:06:48 2007 +0000
Committer:  Steven Whitehouse <[EMAIL PROTECTED]>
CommitDate: Wed Mar 7 14:03:53 2007 -0500

    [GFS2] Fix bz 229873, alternate test: assertion 
"!ip->i_inode.i_mapping->nrpages" failed
    
    The following removes an incorrect assertion from the GFS2 glops code. This
    fixes Red Hat bz 229873. Thanks to Abhijith Das for testing the patch
    and confirming the fix.
    
    Signed-off-by: Steven Whitehouse <[EMAIL PROTECTED]>
    Cc: Abhijith Das <[EMAIL PROTECTED]>
---
 fs/gfs2/glops.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/fs/gfs2/glops.c b/fs/gfs2/glops.c
index 4221110..39c8ae2 100644
--- a/fs/gfs2/glops.c
+++ b/fs/gfs2/glops.c
@@ -245,7 +245,6 @@ static void inode_go_inval(struct gfs2_glock *gl, int flags)
 
        if (ip && S_ISREG(ip->i_inode.i_mode)) {
                truncate_inode_pages(ip->i_inode.i_mapping, 0);
-               gfs2_assert_withdraw(GFS2_SB(&ip->i_inode), 
!ip->i_inode.i_mapping->nrpages);
                clear_bit(GIF_PAGED, &ip->i_flags);
        }
 }
-
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