* [Cluster-devel] cluster/gfs2/fsck pass1.c
@ 2007-03-26 19:16 rpeterso
0 siblings, 0 replies; 2+ messages in thread
From: rpeterso @ 2007-03-26 19:16 UTC (permalink / raw)
To: cluster-devel.redhat.com
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL5
Changes by: rpeterso at sourceware.org 2007-03-26 20:16:11
Modified files:
gfs2/fsck : pass1.c
Log message:
Resolves: Bugzilla Bug 232019: gfs2_fsck doesn't fix an ea problem.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/fsck/pass1.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.4.2.1&r2=1.4.2.2
--- cluster/gfs2/fsck/pass1.c 2007/01/23 19:30:19 1.4.2.1
+++ cluster/gfs2/fsck/pass1.c 2007/03/26 19:16:11 1.4.2.2
@@ -287,8 +287,8 @@
}
static int check_eattr_leaf(struct gfs2_inode *ip, uint64_t block,
- uint64_t parent, struct gfs2_buffer_head **bh,
- void *private)
+ uint64_t parent, struct gfs2_buffer_head **bh,
+ void *private)
{
struct gfs2_sbd *sdp = ip->i_sbd;
struct gfs2_buffer_head *leaf_bh;
@@ -324,10 +324,13 @@
else {
leaf_bh = bread(sdp, block);
if(gfs2_check_meta(leaf_bh, GFS2_METATYPE_EA)) {
- log_warn("EA leaf block has incorrect type.\n");
+ log_warn("EA leaf block %"PRIu64" (0x%"
+ PRIx64") for inode %"PRIu64" (0x%"
+ PRIx64") has incorrect type.\n",
+ block, block, ip->i_di.di_num.no_addr,
+ ip->i_di.di_num.no_addr);
gfs2_block_set(bl, block, gfs2_meta_inval);
- brelse(leaf_bh, not_updated);
- ret = 1;
+ ret = -1;
}
else {
log_debug("Setting block %" PRIu64 " (0x%" PRIx64
^ permalink raw reply [flat|nested] 2+ messages in thread* [Cluster-devel] cluster/gfs2/fsck pass1.c
@ 2007-03-26 19:14 rpeterso
0 siblings, 0 replies; 2+ messages in thread
From: rpeterso @ 2007-03-26 19:14 UTC (permalink / raw)
To: cluster-devel.redhat.com
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: rpeterso at sourceware.org 2007-03-26 20:14:03
Modified files:
gfs2/fsck : pass1.c
Log message:
Resolves: Bugzilla Bug 232019: gfs2_fsck doesn't fix an ea problem.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/fsck/pass1.c.diff?cvsroot=cluster&r1=1.5&r2=1.6
--- cluster/gfs2/fsck/pass1.c 2007/01/23 19:23:07 1.5
+++ cluster/gfs2/fsck/pass1.c 2007/03/26 19:14:03 1.6
@@ -287,8 +287,8 @@
}
static int check_eattr_leaf(struct gfs2_inode *ip, uint64_t block,
- uint64_t parent, struct gfs2_buffer_head **bh,
- void *private)
+ uint64_t parent, struct gfs2_buffer_head **bh,
+ void *private)
{
struct gfs2_sbd *sdp = ip->i_sbd;
struct gfs2_buffer_head *leaf_bh;
@@ -324,10 +324,13 @@
else {
leaf_bh = bread(sdp, block);
if(gfs2_check_meta(leaf_bh, GFS2_METATYPE_EA)) {
- log_warn("EA leaf block has incorrect type.\n");
+ log_warn("EA leaf block %"PRIu64" (0x%"
+ PRIx64") for inode %"PRIu64" (0x%"
+ PRIx64") has incorrect type.\n",
+ block, block, ip->i_di.di_num.no_addr,
+ ip->i_di.di_num.no_addr);
gfs2_block_set(bl, block, gfs2_meta_inval);
- brelse(leaf_bh, not_updated);
- ret = 1;
+ ret = -1;
}
else {
log_debug("Setting block %" PRIu64 " (0x%" PRIx64
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-03-26 19:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-26 19:16 [Cluster-devel] cluster/gfs2/fsck pass1.c rpeterso
-- strict thread matches above, loose matches on Subject: below --
2007-03-26 19:14 rpeterso
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).