diff options
author | Chuck Lever <[email protected]> | 2023-10-01 13:25:16 -0400 |
---|---|---|
committer | Chuck Lever <[email protected]> | 2023-10-16 12:44:39 -0400 |
commit | 6939ace1f22681fface7841cdbf34d3204cc94b5 (patch) | |
tree | 5b9dc2d75be93cced74077b9c64a0426cce89aa1 /scripts/gdb/linux/device.py | |
parent | 5ec39944f874e1ecc09f624a70dfaa8ac3bf9d08 (diff) |
NFSD: Fix frame size warning in svc_export_parse()
fs/nfsd/export.c: In function 'svc_export_parse':
fs/nfsd/export.c:737:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=]
737 | }
On my systems, svc_export_parse() has a stack frame of over 800
bytes, not 1040, but nonetheless, it could do with some reduction.
When a struct svc_export is on the stack, it's a temporary structure
used as an argument, and not visible as an actual exported FS. No
need to reserve space for export_stats in such cases.
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Cc: Amir Goldstein <[email protected]>
Reviewed-by: Jeff Layton <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions