[Ocfs2-tools-commits] taoma commits r1311 - trunk/fsck.ocfs2
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Sat Feb 24 18:59:34 PST 2007
Author: taoma
Date: 2007-02-24 18:59:32 -0800 (Sat, 24 Feb 2007)
New Revision: 1311
Modified:
trunk/fsck.ocfs2/pass1.c
Log:
Fix the bug: A normal link file is regarded as error when running fsck.ocfs2
For more detail, see
http://oss.oracle.com/bugzilla/show_bug.cgi?id=848
Signed-off-by: mfasheh
Signed-off-by: zab
Modified: trunk/fsck.ocfs2/pass1.c
===================================================================
--- trunk/fsck.ocfs2/pass1.c 2007-02-23 19:40:56 UTC (rev 1310)
+++ trunk/fsck.ocfs2/pass1.c 2007-02-25 02:59:32 UTC (rev 1311)
@@ -668,7 +668,7 @@
/* maybe we don't shrink link target allocations, I don't know,
* someone will holler if this is wrong :) */
- if (vb->vb_num_blocks != expected) {
+ if (vb->vb_num_blocks < expected) {
if (prompt(ost, PN, PR_LINK_BLOCKS,
"The target of symlink inode %"PRIu64" "
"fits in %"PRIu64" blocks but the inode has "
More information about the Ocfs2-tools-commits
mailing list