]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ext4: fix macro definition error of EXT4_DIRENT_HASH and EXT4_DIRENT_MINOR_HASH
authorcarrion bent <carrionbent@linux.alibaba.com>
Thu, 6 Jun 2024 05:43:16 +0000 (13:43 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 21 Aug 2024 01:38:59 +0000 (21:38 -0400)
commitf67fbacd923f280c55b9e26e49650331446ef335
tree0cb04149e2ec67d5999c1332c3c442d94b2cd2dd
parent985b67cd86392310d9e9326de941c22fc9340eec
ext4: fix macro definition error of EXT4_DIRENT_HASH and EXT4_DIRENT_MINOR_HASH

The macro parameter 'entry' of EXT4_DIRENT_HASH and
EXT4_DIRENT_MINOR_HASH was not used, but rather the variable 'de' was
directly used, which may be a local variable inside a function that
calls the macros.  Fortunately, all callers have passed in 'de' so
far, so this bug didn't have an effect.

Signed-off-by: carrion bent <carrionbent@linux.alibaba.com>
Link: https://patch.msgid.link/1717652596-58760-1-git-send-email-carrionbent@linux.alibaba.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/ext4.h