]> git.ipfire.org Git - thirdparty/linux.git/commit
btrfs: make btrfs_readdir_delayed_dir_index() return a bool instead
authorFilipe Manana <fdmanana@suse.com>
Sat, 31 May 2025 14:56:46 +0000 (15:56 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 21 Jul 2025 21:53:30 +0000 (23:53 +0200)
commit41e4ea0bf5558c03c8e7e3fc45ddf61da00e7c80
treefeeeecb907f5d1c57911b427072b33104a18d457
parent4106eb9bdae662e6ba14f1b55a33c8a2489ff86b
btrfs: make btrfs_readdir_delayed_dir_index() return a bool instead

There's no need to return errors, all we do is return 1 or 0 depending
on whether we should or should not stop iterating over delayed dir
indexes. So change the function to return bool instead of an int.

Reviewed-by: Boris Burkov <boris@bur.io>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/delayed-inode.c
fs/btrfs/delayed-inode.h
fs/btrfs/inode.c