Since this section of code is wrapped in a #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) it seemed like this was redundant. John Index: src/file.c ==================================================================--- src/file.c (revision 791) +++ src/file.c (working copy) @@ -1502,11 +1502,7 @@ stat->nlink = inode->i_nlink; stat->uid = inode->i_uid; stat->gid = inode->i_gid; -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) stat->rdev = inode->i_rdev; -#else - stat->rdev = kdev_t_to_nr(inode->i_rdev); -#endif stat->atime = inode->i_atime; stat->mtime = inode->i_mtime; stat->ctime = inode->i_ctime;
On Fri, Mar 19, 2004 at 10:55:15AM -0800, John L. Villalovos wrote:> Since this section of code is wrapped in a > #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) > it seemed like this was redundant.Alright, for whatever reason I had to hand patch this one, but it's in there. --Mark -- Mark Fasheh Software Developer, Oracle Corp mark.fasheh@oracle.com