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, Oct 26, 6:50 AM
Unknown Object (File)
Tue, Oct 15, 11:38 PM
Unknown Object (File)
Fri, Oct 11, 7:28 AM
Unknown Object (File)
Fri, Oct 11, 7:13 AM
Unknown Object (File)
Fri, Oct 11, 7:12 AM
Unknown Object (File)
Thu, Oct 10, 10:16 PM
Unknown Object (File)
Oct 1 2024, 2:14 AM
Unknown Object (File)
Sep 27 2024, 8:52 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