Page MenuHomeFreeBSD

lindebugfs: Add `debugfs_create_file_size()`
ClosedPublic

Authored by dumbbell on Dec 30 2022, 10:08 AM.
Tags
None
Referenced Files
F108450466: D37914.diff
Fri, Jan 24, 10:06 PM
Unknown Object (File)
Thu, Jan 23, 6:40 PM
Unknown Object (File)
Dec 13 2024, 10:44 PM
Unknown Object (File)
Nov 25 2024, 10:08 PM
Unknown Object (File)
Nov 20 2024, 3:23 PM
Unknown Object (File)
Nov 9 2024, 1:45 AM
Unknown Object (File)
Nov 8 2024, 10:23 PM
Unknown Object (File)
Oct 26 2024, 6:50 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

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