mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Oleg Drokin <green@linuxhacker.ru>
To: maxsoft@linuxmail.org, mason@suse.com, linux-kernel@vger.kernel.org
Subject: Re: Strange reiserfs 3.6 msg warning.
Date: Fri, 17 Sep 2004 18:32:22 +0300	[thread overview]
Message-ID: <200409171532.i8HFWMUv009546@car.linuxhacker.ru> (raw)
In-Reply-To: <20040916235532.6216523C12@ws5-3.us4.outblaze.com>

"Panos Polychronis" <maxsoft@linuxmail.org> wrote:
PP> hello i'm running 2.6.8.1-ck7 (reiserfs 3.6) and i got this message
PP> Sep 17 00:53:26 phobos kernel: ReiserFS: hda1: warning: vs-8115: get_num_ver: not directory item
PP> can anyone explain me what is this and if is something dangerous ?

This is totally harmless, you can silence the warning with below patch
(somehow it was lost on its way to Linus, it seems).

Bye,
    Oleg

===== fs/reiserfs/fix_node.c 1.35 vs edited =====
--- 1.35/fs/reiserfs/fix_node.c	2004-05-10 14:25:42 +03:00
+++ edited/fs/reiserfs/fix_node.c	2004-06-22 20:11:26 +03:00
@@ -510,9 +510,10 @@
 	// s2bytes
 	snum012[4] = op_unit_num (&vn->vn_vi[split_item_num]) - snum012[4] - bytes_to_r - bytes_to_l - bytes_to_S1new;
 
-	if (vn->vn_vi[split_item_num].vi_index != TYPE_DIRENTRY)
+	if (vn->vn_vi[split_item_num].vi_index != TYPE_DIRENTRY &&
+	    vn->vn_vi[split_item_num].vi_index != TYPE_INDIRECT)
 	    reiserfs_warning (tb->tb_sb, "vs-8115: get_num_ver: not "
-			      "directory item");
+			      "directory or indirect item");
     }
 
     /* now we know S2bytes, calculate S1bytes */

      reply	other threads:[~2004-09-17 16:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-16 23:55 Panos Polychronis
2004-09-17 15:32 ` Oleg Drokin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200409171532.i8HFWMUv009546@car.linuxhacker.ru \
    --to=green@linuxhacker.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mason@suse.com \
    --cc=maxsoft@linuxmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®