]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: remove no longer needed logic for replaying directory deletes
authorFilipe Manana <fdmanana@suse.com>
Mon, 25 Oct 2021 16:31:54 +0000 (17:31 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 3 Jan 2022 14:09:42 +0000 (15:09 +0100)
commit41908d4ae9b7ff13533329bc3c1ddb369ac536f4
treef0def02500bfb1abf30bd5b23f95d08ccb105d6c
parentacf3e0c1c0c0c5827c6b49a1b1889413fc7530ba
btrfs: remove no longer needed logic for replaying directory deletes

Now that we log only dir index keys when logging a directory, we no longer
need to deal with dir item keys in the log replay code for replaying
directory deletes. This is also true for the case when we replay a log
tree created by a kernel that still logs dir items.

So remove the remaining code of the replay of directory deletes algorithm
that deals with dir item keys.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/tree-log.c
include/uapi/linux/btrfs_tree.h