[Pvfs2-cvs] commit by pw in pvfs2/src/kernel/linux-2.6: devpvfs2-req.c

CVS commit program cvs at parl.clemson.edu
Fri Jan 11 09:40:47 EST 2008


Update of /projects/cvsroot/pvfs2/src/kernel/linux-2.6
In directory parlweb1:/tmp/cvs-serv27644/src/kernel/linux-2.6

Modified Files:
	devpvfs2-req.c 
Log Message:
[murali] Don't declare variable if kernel does not have device class
feature.  Code was already #ifdef-protected.


Index: devpvfs2-req.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/kernel/linux-2.6/devpvfs2-req.c,v
diff -u -p -p -u -r1.72 -r1.73
--- devpvfs2-req.c	31 Aug 2007 23:10:43 -0000	1.72
+++ devpvfs2-req.c	11 Jan 2008 14:40:47 -0000	1.73
@@ -30,7 +30,9 @@ gossip_err("'lsof | grep %s' (run this a
 gossip_err("  open_access_count = %d\n", open_access_count);          \
 gossip_err("*****************************************************\n")
 
+#ifdef HAVE_KERNEL_DEVICE_CLASSES
 static struct class *pvfs2_dev_class;
+#endif
 
 static int pvfs2_devreq_open(
     struct inode *inode,



More information about the Pvfs2-cvs mailing list