Page MenuHomeFreeBSD

fuse: Remove set but unused cr_gid variable.
ClosedPublic

Authored by jhb on Mar 30 2023, 11:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 18 2024, 6:17 AM
Unknown Object (File)
Nov 17 2024, 6:40 AM
Unknown Object (File)
Oct 21 2024, 6:53 AM
Unknown Object (File)
Oct 13 2024, 10:07 AM
Unknown Object (File)
Oct 7 2024, 7:51 PM
Unknown Object (File)
Sep 29 2024, 12:28 PM
Unknown Object (File)
Sep 29 2024, 10:22 AM
Unknown Object (File)
Sep 12 2024, 11:40 AM
Subscribers

Details

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Mar 31 2023, 12:42 AM
sys/fs/fuse/fuse_vnops.c
2221

Btw, cr_gid is #define'd to cr_groups[0] in <sys/ucred.h> so I'm not really sure how this compiling without other warnings as it was expanding to things like gid_t cr_groups[0]; and then in the assignments below cr_groups[0] = cred->cr_groups[0];. In theory -Warray-bounds should have caught that but didn't.

This revision was automatically updated to reflect the committed changes.