[PATCH u-boot 2/2] fs: btrfs: change directory list output to be aligned as before
Tom Rini
trini at konsulko.com
Thu Feb 25 14:25:02 CET 2021
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.behun at nic.cz>
> Fixes: 325dd1f642dd ("fs: btrfs: Use btrfs_iter_dir() to replace ...")
> Cc: David Sterba <dsterba at suse.com>
> Cc: Qu Wenruo <wqu at suse.com>
> Cc: Tom Rini <trini at konsulko.com>
> Reviewed-by: Qu Wenruo <wqu at suse.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210225/aa54bf6f/attachment.sig>
More information about the U-Boot
mailing list