Tiny fix to remove dead code
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
file.c +0 -4
@@ -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;
Quoted 3 lines · John L. Villalovos
Since this section of code is wrapped in a
#ifLINUX_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
[email protected]