[Ocfs2-commits] mfasheh commits r806 - trunk/src
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Mon Mar 22 16:59:33 CST 2004
Author: mfasheh
Date: 2004-03-22 16:59:31 -0600 (Mon, 22 Mar 2004)
New Revision: 806
Modified:
trunk/src/file.c
Log:
* include a patch (I had hand massage it a bit) by
John Villalovos <john.l.villalovos at intel.com>:
Since this section of code is wrapped in a
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
it seemed like this was redundant.
Modified: trunk/src/file.c
===================================================================
--- trunk/src/file.c 2004-03-22 22:51:07 UTC (rev 805)
+++ trunk/src/file.c 2004-03-22 22:59:31 UTC (rev 806)
@@ -1493,11 +1493,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;
More information about the Ocfs2-commits
mailing list