Skip to content
Unverified Commit ad191eb6 authored by Chuck Lever's avatar Chuck Lever Committed by Christian Brauner
Browse files

shmem: Fix shmem_rename2()

When renaming onto an existing directory entry, user space expects
the replacement entry to have the same directory offset as the
original one.

Link: https://gitlab.alpinelinux.org/alpine/aports/-/issues/15966


Fixes: a2e45955 ("shmem: stable directory offsets")
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
Link: https://lore.kernel.org/r/20240415152057.4605-4-cel@kernel.org


Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent 5a1a25be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment