Re: [reiserfs-dev] Re: [PATCH] sparc32: wrong type of nlink_t

David S. Miller (davem@redhat.com)
Wed, 04 Sep 2002 22:36:51 -0700 (PDT)


From: Tomas Szepe <szepe@pinerecords.com>
Date: Thu, 5 Sep 2002 07:40:08 +0200

> Our disk format has link counts > 32k

Does the internal reiserfs nlink value translate directly
to what stat() puts in st_nlink?

It really doesn't matter. Even if you have some huge value that can't
be represented in st_nlink, you can report to the user that st_nlink
is NLINK_MAX.

This is one possible solution to this whole problem.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/