diff options
| author | Yichong Chen <chenyichong@uniontech.com> | 2026-06-30 11:08:00 +0800 |
|---|---|---|
| committer | Tyler Hicks <code@tyhicks.com> | 2026-07-20 22:12:46 -0500 |
| commit | 8fafd7c86fc35bd11eb34d4ab2d6282b3354f30f (patch) | |
| tree | f9dff8d2a772086480f0b110e406c0d7dc73c9e2 /scripts/objdiff | |
| parent | 496ec2d0852a02d2e631771b5c439130b9c7dce7 (diff) | |
| download | linux-8fafd7c86fc35bd11eb34d4ab2d6282b3354f30f.tar.gz linux-8fafd7c86fc35bd11eb34d4ab2d6282b3354f30f.zip | |
ecryptfs: avoid heap allocation for inode size write
ecryptfs_write_inode_size_to_header() allocates an 8-byte buffer only
to write the encoded inode size to the lower file header.
Use a stack __be64 value instead. This avoids an unnecessary allocation
and removes a failure path without changing the data written to disk.
Signed-off-by: Yichong Chen <chenyichong@uniontech.com>
Signed-off-by: Tyler Hicks <code@tyhicks.com>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
