gramineproject / graphene

Graphene / Graphene-SGX - a library OS for Linux multi-process applications, with Intel SGX support
https://grapheneproject.io
GNU Lesser General Public License v3.0
771 stars 261 forks source link

[LibOS] Remove `DENTRY_ISDIRECTORY`, `DENTRY_ISLINK` #2587

Closed pwmarcz closed 3 years ago

pwmarcz commented 3 years ago

Description of the changes

This is a follow-up to previous changes that introduced the type field. This change removes the redundancy in data. It also simplifies the state bit field - hopefully, I can change it to an enum soon.

It's a small change but I didn't want to bundle it with others - it looks like it would be a pain to keep the commits separate.

How to test this PR?

This should be well covered by existing tests.


This change is Reviewable