diff options
| author | Christoph Hellwig <hch@lst.de> | 2026-04-08 08:06:42 +0200 |
|---|---|---|
| committer | Tyler Hicks <code@tyhicks.com> | 2026-04-08 18:54:03 -0500 |
| commit | e836ec1819b0cc50e0b45a53b0bdce6c596f0207 (patch) | |
| tree | 4f08e709ed007676eb87d8833fa51bcbc93c80a7 /include/linux/timerqueue_types.h | |
| parent | 5d1f0e8cd9482ddb5318f765f7ca508ce707cf83 (diff) | |
ecryptfs: keep the lower iattr contained in truncate_upper
Currently the two callers of truncate_upper handle passing information
very differently. ecryptfs_truncate passes a zeroed lower_ia and expects
truncate_upper to fill it in from the upper ia created just for that,
while ecryptfs_setattr passes a fully initialized lower_ia copied from
the upper one. Both of them then call notify_change on the lower_ia.
Switch to only passing the upper ia, and derive the lower ia from it
inside truncate_upper, and call notify_change inside the function itself.
Because the old name is misleading now, rename the resulting function to
__ecryptfs_truncate as it deals with both the lower and upper inodes.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Tyler Hicks <code@tyhicks.com>
Diffstat (limited to 'include/linux/timerqueue_types.h')
0 files changed, 0 insertions, 0 deletions
