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

From: Nikita Danilov (Nikita@Namesys.COM)
Date: Thu Sep 05 2002 - 04:46:50 EST


David S. Miller writes:
> From: Tomas Szepe <szepe@pinerecords.com>
> Date: Thu, 5 Sep 2002 07:48:58 +0200
>
> And a pretty straightforward one, too. Convert the internal reiserfs
> link stuff to an unsigned short, find NLINK_MAX using the code I posted
> last night (or maybe simply grab it from userspace includes) and add
> a check to your stat() code to return NLINK_MAX if necessary.
>
> Whose stat() code? These go straight to userspace via normal
> syscalls.

In 2.5 is goes through ->getattr() method.

>
> It has to be done generically, in the VFS or reiserfs.

Nikita.
-
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/



This archive was generated by hypermail 2b29 : Sat Sep 07 2002 - 22:00:24 EST