diff options
| author | David Sterba <[email protected]> | 2025-02-25 17:24:43 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2025-03-18 19:35:47 +0000 |
| commit | 6e7c2838632cc06b299297ee2477d05158838956 (patch) | |
| tree | 4a70babe05388c8ecff23f54c30d8b42edcaef29 /fs/btrfs/dev-replace.c | |
| parent | btrfs: simplify parameters of metadata folio helpers (diff) | |
| download | kernel-6e7c2838632cc06b299297ee2477d05158838956.tar.gz kernel-6e7c2838632cc06b299297ee2477d05158838956.zip | |
btrfs: add __pure attribute to eb page and folio counters
The functions qualify for the pure attribute as they always return the
same value for the same argument (in the given scope). This allows to
optimize the calls and cache the value.
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
