Details
-
Bug
-
Resolution: Fixed
-
Minor
-
Lustre 2.6.0
-
3
-
14139
Description
This is minor. In lod_load_striping_locked() we have tests:
if (lu_object_attr(lod2lu_obj(lo)) & S_IFREG) { ... } else if (lu_object_attr(lod2lu_obj(lo)) & S_IFDIR) { ...
This is wrong since in general the S_IF* constants are not single bits.