Commit b19fe74
ecryptfs: use ZERO_PAGE instead of allocating zeroed memory in truncate_upper
Use the existing pre-zeroed memory instead of allocating a new chunk.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Tyler Hicks <code@tyhicks.com>1 parent b109187 commit b19fe74
1 file changed
Lines changed: 2 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
771 | 771 | | |
772 | 772 | | |
773 | 773 | | |
774 | | - | |
775 | | - | |
776 | | - | |
777 | | - | |
778 | | - | |
779 | | - | |
780 | | - | |
781 | | - | |
782 | | - | |
| 774 | + | |
| 775 | + | |
783 | 776 | | |
784 | 777 | | |
785 | 778 | | |
| |||
0 commit comments