summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/glops.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2007-03-07 09:06:48 +0000
committerSteven Whitehouse <swhiteho@redhat.com>2007-03-07 14:03:53 -0500
commitc3f49bc209b28d2b5f82b78baaa827eb3a4d1891 (patch)
treedb160e1e04427ab48a7324f2781e66beb5c92072 /fs/gfs2/glops.c
parent95d97b7dd7d7a7a13d11a38b3ecb64849d2e5086 (diff)
downloadlinux-c3f49bc209b28d2b5f82b78baaa827eb3a4d1891.tar.gz
linux-c3f49bc209b28d2b5f82b78baaa827eb3a4d1891.tar.bz2
linux-c3f49bc209b28d2b5f82b78baaa827eb3a4d1891.zip
[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 <swhiteho@redhat.com> Cc: Abhijith Das <adas@redhat.com>
Diffstat (limited to 'fs/gfs2/glops.c')
-rw-r--r--fs/gfs2/glops.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/gfs2/glops.c b/fs/gfs2/glops.c
index 42211105c3f8..39c8ae23bd9c 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);
}
}