Whamcloud - gitweb
b=15134
[fs/lustre-release.git] / libcfs / include / libcfs / posix / libcfs.h
index 909deef..9d5970a 100644 (file)
@@ -411,4 +411,5 @@ static inline void radix_tree_preload_end(void)
 
 typedef ssize_t (*read_actor_t)();
 
+#define CFS_IFTODT(type)   (((type) & 0170000) >> 12)
 #endif