Thread (6 messages) 6 messages, 5 authors, 2021-07-30

Re: [PATCH 1/2] btrfs-progs: check/original: detect directory inode with nlinks >= 2

From: David Sterba <hidden>
Date: 2021-07-30 13:57:30

On Sun, Jul 18, 2021 at 08:54:48PM +0800, Qu Wenruo wrote:
Linux VFS doesn't allow directory to have hard links, thus for btrfs
on-disk directory inode items, their nlinks should never go beyond 1.

Lowmem mode already has the check and will report it without problem.
Only original mode needs this update.

Reported-by: Pepperpoint <redacted>
Link: https://lore.kernel.org/linux-btrfs/162648632340.7.1932907459648384384.10178178@mb.ardentcoding.com/ (local)
Signed-off-by: Qu Wenruo <redacted>
Added to devel, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help