Whamcloud - gitweb
LU-506 kernel: FC15 - blkdev_get_by_dev() used instead of open_by_devnum().
[fs/lustre-release.git] / lustre / include / linux / lustre_handles.h
index 2aed070..7393383 100644 (file)
@@ -26,7 +26,7 @@
  * GPL HEADER END
  */
 /*
- * Copyright  2008 Sun Microsystems, Inc. All rights reserved
+ * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
  * Use is subject to license terms.
  */
 /*
@@ -45,7 +45,6 @@
 #include <asm/types.h>
 #include <asm/atomic.h>
 #include <linux/list.h>
-#include <linux/random.h>
 #include <linux/version.h>
 #include <linux/spinlock.h>
 #include <linux/types.h>
@@ -53,8 +52,6 @@
 # ifdef HAVE_RCU
 #  include <linux/rcupdate.h> /* for rcu_head{} */
 typedef struct rcu_head cfs_rcu_head_t;
-# else
-typedef struct cfs_rcu_head { } cfs_rcu_head_t;
 # endif
 
 #endif /* ifdef __KERNEL__ */