On Tue, Feb 09, 2021 at 07:05:08PM +0100, Marek Behún wrote: > Since commit 325dd1f642dd ("fs: btrfs: Use btrfs_iter_dir() to ...") > when btrfs is listing a directory, the output is not aligned: > > <SYMLINK> 15 Wed Sep 09 13:20:03 2020 boot.scr -> @/boot/boot.scr > <DIR> 0 Tue Feb 02 12:42:09 2021 @ > <FILE> 108 Tue Feb 02 12:54:04 2021 1.info > > Return back to how it was displayed previously, i.e.: > > <SYM> 15 Wed Sep 09 13:20:03 2020 boot.scr -> @/boot/boot.scr > <DIR> 0 Tue Feb 02 12:42:09 2021 @ > < > 108 Tue Feb 02 12:54:04 2021 1.info > > Instead of '<FILE>', print '< >', as ext4 driver. > > If an unknown directory item type is encountered, we will print the type > number left padded with spaces, enclosed by '?', instead of '<' and '>', > i.e.: > > ? 30? ............................. name > > Signed-off-by: Marek Behún <marek.be...@nic.cz> > Fixes: 325dd1f642dd ("fs: btrfs: Use btrfs_iter_dir() to replace ...") > Cc: David Sterba <dste...@suse.com> > Cc: Qu Wenruo <w...@suse.com> > Cc: Tom Rini <tr...@konsulko.com> > Reviewed-by: Qu Wenruo <w...@suse.com>
Applied to u-boot/master, thanks! -- Tom
signature.asc
Description: PGP signature