Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LibOS] Rename chroot_dentry_uri() into dentry_uri() #1817

Merged
merged 1 commit into from
May 6, 2024

Conversation

dimakuv
Copy link
Contributor

@dimakuv dimakuv commented Mar 14, 2024

Description of the changes

Function chroot_dentry_uri() is a generic function to extract the URI out of the dentry (by concatenating the URI prefix, the dentry's mount point path and the dentry relative name). Thus this function must have a generic name and must be moved to a generic dentry file.

Extracted from #1812.

How to test this PR?

N/A.


This change is Reviewable

@dimakuv dimakuv marked this pull request as ready for review March 14, 2024 13:45
Copy link
Contributor Author

@dimakuv dimakuv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 0 of 5 files reviewed, all discussions resolved, not enough approvals from maintainers (2 more required), not enough approvals from different teams (1 more required, approved so far: Intel)


libos/src/fs/libos_dcache.c line 345 at r1 (raw file):

}

static const char* strip_prefix(const char* uri) {

All this code is a direct copy-paste from another file.

mkow
mkow previously approved these changes May 5, 2024
Copy link
Member

@mkow mkow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 5 of 5 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

Function `chroot_dentry_uri()` is a generic function to extract the URI
out of the dentry (by concatenating the URI prefix, the dentry's mount
point path and the dentry relative name). Thus this function must have a
generic name and must be moved to a generic dentry file.

Signed-off-by: Dmitrii Kuvaiskii <dmitrii.kuvaiskii@intel.com>
@mkow mkow force-pushed the dimakuv/rename-chroot-dentry-uri branch from fbf1764 to 46491d5 Compare May 5, 2024 13:48
Copy link
Member

@mkow mkow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 4 of 4 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@dimakuv dimakuv merged commit 46491d5 into master May 6, 2024
18 checks passed
@dimakuv dimakuv deleted the dimakuv/rename-chroot-dentry-uri branch May 6, 2024 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants