Messages in this thread Patch in this message | | | Date | Thu, 5 Sep 2002 16:04:10 -0500 | From | David Kleikamp <> | 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/
| |