Re: [PATCH] debugfs: Fix infinite loop when dump log

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 17 Nov 2023 18:23:15 +0800, Wenchao Hao wrote:
> There are 2 scenarios which would trigger infinite loop:
> 
> 1. None log is recorded, then dumplog with "-n", for example:
>    debugfs -R "logdump -O -n 10" /dev/xxx
>    while /dev/xxx has no valid log recorded.
> 2. The log area is full and cycle write is triggered, then dumplog with
>    debugfs -R "logdump -aOS" /dev/xxx
> 
> [...]

Applied, thanks!

[1/1] debugfs: Fix infinite loop when dump log
      commit: 272173a300822b5cfe19bef597609523baab0c66

(I renamed reverse_flag to wrapped_flag to make things clearer.)

Best regards,
-- 
Theodore Ts'o <tytso@xxxxxxx>




[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux