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)
Thu, May 23, 8:13 AM
Unknown Object (File)
Thu, May 23, 8:01 AM
Unknown Object (File)
Thu, May 23, 6:41 AM
Unknown Object (File)
Thu, May 23, 4:53 AM
Unknown Object (File)
Thu, May 23, 3:13 AM
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

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 Skipped
Unit
Tests Skipped

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