Page MenuHomeFreeBSD

lindebugfs: Add `debugfs_create_file_size()`
ClosedPublic

Authored by dumbbell on Dec 30 2022, 10:08 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 4, 2:32 AM
Unknown Object (File)
Mar 8 2024, 4:49 PM
Unknown Object (File)
Mar 8 2024, 4:49 PM
Unknown Object (File)
Dec 20 2023, 7:27 AM
Unknown Object (File)
Dec 12 2023, 2:13 PM
Unknown Object (File)
Oct 26 2023, 7:46 PM
Unknown Object (File)
Oct 26 2023, 7:26 PM
Unknown Object (File)
Aug 19 2023, 3:36 AM

Details

Summary

This is the same as debugfs_create_file() but takes the initial size of the file. In FreeBSD, the given size is ignored and debugfs_create_file() is called.

This is part of the update of the DRM drivers to Linux 5.13.

Diff Detail

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

Event Timeline

dumbbell edited the summary of this revision. (Show Details)
bz added inline comments.
sys/compat/lindebugfs/lindebugfs.c
219

__unused ?

Re-upload patch with context.

LGTM but maybe worth a XXX comment on debugfs_create_file_size noting that we're ignoring the size?

LGTM but maybe worth a XXX comment on debugfs_create_file_size noting that we're ignoring the size?

Same comment.

This revision is now accepted and ready to land.Jan 25 2023, 9:52 PM