summaryrefslogtreecommitdiffstats
path: root/crypto/zstd.c
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2019-10-15 18:42:23 +0300
committerDavid Sterba <dsterba@suse.com>2019-11-18 17:51:47 +0100
commit4ac039ad75df3f5f5f5b2b7439f094ad5bd9dbbe (patch)
tree0512a3e5c93ab033396b9427a29bdad34fbe2ee1 /crypto/zstd.c
parent260eb11bd42b4b5bcd671a1f8cb7d7b9a3e36b8d (diff)
downloadlinux-4ac039ad75df3f5f5f5b2b7439f094ad5bd9dbbe.tar.bz2
btrfs: Rename find_oldest_super_backup to init_backup_root_slot
The old name name was an awful misnomer because it didn't really find the oldest super backup per-se but rather its slot. For example if we have: slot0: gen - 2 slot1: gen - 1 slot2: gen slot3: empty init_backup_root_slot will return slot3 and not slot0. The new name is more appropriate since the function doesn't care whether there is a valid backup in the returned slot or not. Signed-off-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'crypto/zstd.c')
0 files changed, 0 insertions, 0 deletions