]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ext4: don't verify checksums of dx non-leaf nodes during fallback scan
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 13 Nov 2012 04:51:02 +0000 (23:51 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 13 Nov 2012 04:51:02 +0000 (23:51 -0500)
commitc6af8803cd4f56aa62a47448c55030d4905b6783
treedb474fa8ae82cf4f4ca56294cf92a2ee422179fc
parentdffe9d8da715bed4d395883add90a2d150d85729
ext4: don't verify checksums of dx non-leaf nodes during fallback scan

During a directory entry lookup of a hashed directory, if the
hash-based lookup functions fail and we fall back to a linear scan,
don't try to verify the dirent checksum on the internal nodes of the
hash tree because they don't store a checksum in a hidden dirent like
the leaf nodes do.

Reported-by: George Spelvin <linux@horizon.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/namei.c