Whamcloud - gitweb
LU-1346 libcfs: remove cfs_ file wrappers
[fs/lustre-release.git] / lustre / lclient / lcommon_cl.c
index a6d5d58..cf8b568 100644 (file)
@@ -1313,10 +1313,10 @@ __u16 ll_dirent_type_get(struct lu_dirent *ent)
 
                 len = le16_to_cpu(ent->lde_namelen);
                 len = (len + align) & ~align;
-                lt = (void *) ent->lde_name + len;
-                type = CFS_IFTODT(le16_to_cpu(lt->lt_type));
-        }
-        return type;
+               lt = (void *)ent->lde_name + len;
+               type = IFTODT(le16_to_cpu(lt->lt_type));
+       }
+       return type;
 }
 
 /**