]> git.ipfire.org Git - thirdparty/linux.git/commit
shmem_whiteout(): fix regression from tree-in-dcache series
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 13 Dec 2025 17:36:15 +0000 (12:36 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 14 Dec 2025 03:28:53 +0000 (22:28 -0500)
commit3010f06c52aa7da51493df59303ea733a614597b
treef0105bcdc4b0823da579e3e877dd2f0e5250b838
parent0048fbb4011ec55c32d3148b2cda56433f273375
shmem_whiteout(): fix regression from tree-in-dcache series

Now that shmem_mknod() hashes the new dentry, d_rehash() in
shmem_whiteout() should be removed.

X-paperbag: brown
Reported-by: Hugh Dickins <hughd@google.com>
Acked-by: Hugh Dickins <hughd@google.com>
Tested-by: Hugh Dickins <hughd@google.com>
Fixes: 2313598222f9 ("convert ramfs and tmpfs")
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
mm/shmem.c