lkml.org 
[lkml]   [2002]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Make in-kernel i_nlink field be unsigned int
Marcelo,
This is a backport of the fix Linus dropped into the 2.5 tree. Can you
put this into 2.4?

Linus' abstract:
> Make in-kernel inode 'nlink' field be "unsigned int" instead
> of something arch-dependent and usually less.
>
> We may want to do value limiting in generic_fillattr() if people
> end up caring.

Of course, 2.4 doesn't have generic_fillattr. This would be cp_old_stat
and cp_new_stat.

Thanks,
Shaggy

===== include/linux/fs.h 1.68 vs edited =====
--- 1.68/include/linux/fs.h Fri Aug 23 08:27:33 2002
+++ edited/include/linux/fs.h Thu Sep 5 15:33:33 2002
@@ -442,7 +442,7 @@
atomic_t i_count;
kdev_t i_dev;
umode_t i_mode;
- nlink_t i_nlink;
+ unsigned int i_nlink;
uid_t i_uid;
gid_t i_gid;
kdev_t i_rdev;
-
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/
\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.054 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site