Whamcloud - gitweb
LU-10499 pcc: use foreign layout for PCCRO on server side
[fs/lustre-release.git] / lustre / llite / llite_internal.h
index a168317..60887a7 100644 (file)
@@ -1433,7 +1433,7 @@ static inline ssize_t ll_lov_user_md_size(const struct lov_user_md *lum)
        case LOV_USER_MAGIC_COMP_V1:
                return ((struct lov_comp_md_v1 *)lum)->lcm_size;
        case LOV_USER_MAGIC_FOREIGN:
-               return foreign_size(lum);
+               return lov_foreign_size(lum);
        }
 
        return -EINVAL;