[Ocfs2-commits] manish commits r1172 - trunk/src

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Mon Jun 21 18:16:39 CDT 2004


Author: manish
Date: 2004-06-21 17:16:37 -0500 (Mon, 21 Jun 2004)
New Revision: 1172

Modified:
   trunk/src/file.c
   trunk/src/file.h
Log:
Only declare ocfs_getattr in 2.6


Modified: trunk/src/file.c
===================================================================
--- trunk/src/file.c	2004-06-21 22:09:28 UTC (rev 1171)
+++ trunk/src/file.c	2004-06-21 22:16:37 UTC (rev 1172)
@@ -1489,7 +1489,7 @@
 
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
 /*
- * ocfs_getattr() (Linux 2.5 version)
+ * ocfs_getattr()
  *
  */
 int ocfs_getattr (struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat)

Modified: trunk/src/file.h
===================================================================
--- trunk/src/file.h	2004-06-21 22:09:28 UTC (rev 1171)
+++ trunk/src/file.h	2004-06-21 22:16:37 UTC (rev 1172)
@@ -36,8 +36,6 @@
 		      ocfs_journal_handle *passed_handle, 
 		      struct inode *inode, struct iattr *attr, 
 		      int system_file, struct buffer_head *fe_bh);
-int ocfs_getattr(struct vfsmount *mnt, struct dentry *dentry,
-		 struct kstat *stat);
 int ocfs_inode_fill_ext_map(ocfs_super *osb, struct buffer_head *fe_bh,
 			    struct inode *inode);
 int ocfs_inode_notify_open(ocfs_super *osb, struct buffer_head *fe_bh, 
@@ -45,4 +43,9 @@
 			   struct inode *inode);
 int ocfs_setattr(struct dentry *dentry, struct iattr *attr);
 
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
+int ocfs_getattr(struct vfsmount *mnt, struct dentry *dentry,
+		 struct kstat *stat);
+#endif
+
 #endif /* OCFS2_FILE_H */



More information about the Ocfs2-commits mailing list