diff options
| author | Chuck Lever <[email protected]> | 2023-10-01 17:25:16 +0000 |
|---|---|---|
| committer | Chuck Lever <[email protected]> | 2023-10-16 16:44:39 +0000 |
| commit | 6939ace1f22681fface7841cdbf34d3204cc94b5 (patch) | |
| tree | 5b9dc2d75be93cced74077b9c64a0426cce89aa1 /fs/btrfs/dev-replace.c | |
| parent | NFSD: Rewrite synopsis of nfsd_percpu_counters_init() (diff) | |
| download | kernel-6939ace1f22681fface7841cdbf34d3204cc94b5.tar.gz kernel-6939ace1f22681fface7841cdbf34d3204cc94b5.zip | |
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 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
