Skip to content

fs: NewNodeFS: actually handle opts = nil#596

Open
rfjakob wants to merge 2 commits intohanwen:masterfrom
rfjakob:nilopts
Open

fs: NewNodeFS: actually handle opts = nil#596
rfjakob wants to merge 2 commits intohanwen:masterfrom
rfjakob:nilopts

Conversation

@rfjakob
Copy link
Contributor

@rfjakob rfjakob commented Jan 11, 2026

Cross-post of https://review.gerrithub.io/c/hanwen/go-fuse/+/1228929 for CI


Parts of the function did handle opts = nil, other parts did not.

Handle it right at entry like fuse.NewServer,
and document it.

Change-Id: I265f1d7cb96a926879ca6769a0d08e613795b9cd

Parts of the function did handle opts = nil, other parts
did not.

Handle it right at entry like fuse.NewServer,
and document it.

Change-Id: I265f1d7cb96a926879ca6769a0d08e613795b9cd
This adds a way to base your Options on the defaults
*except* some setting.

Also allows to deduplicate some code in go-fuse, which
this change also does.

I have only touched the exactly-equivalent cases here.

Change-Id: I99dcd06c0239537c15bda2c27236d00c1a474cf0
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.

1 participant