Whamcloud - gitweb
b=15134
[fs/lustre-release.git] / libcfs / include / libcfs / linux / linux-fs.h
index 4933a1b..903001e 100644 (file)
@@ -85,4 +85,6 @@ typedef struct file_lock cfs_flock_t;
 
 ssize_t cfs_user_write (cfs_file_t *filp, const char *buf, size_t count, loff_t *offset);
 
+#define CFS_IFTODT(type)   (((type) & 0170000) >> 12)
+
 #endif