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;