Skip to content
This repository was archived by the owner on Jul 8, 2024. It is now read-only.

Remove internal header file#54

Merged
kivikakk merged 4 commits intoremove-vfsapifrom
remove-vfsapi-internal-header
Mar 4, 2019
Merged

Remove internal header file#54
kivikakk merged 4 commits intoremove-vfsapifrom
remove-vfsapi-internal-header

Conversation

@chrisd8088
Copy link
Collaborator

Without any code to share with the VFS API, we can eliminate the projfs_i.h function and we also don't need the _projfs_make_dir() function any more.

During the initial work on projection and while we had the VFS API
in this library, I envisioned a need for the VFS code to call an
internal, common function to make a directory (either projected, or
normal).

That need never materialized, so we can eliminate this function
entirely.
Without any shared code between the primary library and a VFS API,
there's no need for an internal header file at the moment, so we
can eliminate it.
@chrisd8088 chrisd8088 requested a review from kivikakk March 2, 2019 06:26
@chrisd8088 chrisd8088 added the vfs VFSForGit API label Mar 2, 2019
chrisd8088 and others added 2 commits March 3, 2019 12:20
As there is no compelling reason not to allow libprojfs callers
to specify the permission mode bits of a projected directory,
we can support this in our API, and defer to our callers (VFSForGit
in particular) to supply the directory permissions they expect or
require.
allow arbitrary permission modes on projected dirs
@kivikakk kivikakk merged commit 9f09eb7 into remove-vfsapi Mar 4, 2019
@kivikakk kivikakk deleted the remove-vfsapi-internal-header branch March 4, 2019 01:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

vfs VFSForGit API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants