Commit f3e02ce6 authored by David Sterba's avatar David Sterba Committed by Lipeng Sang
Browse files

btrfs: fix type of parameter generation in btrfs_get_dentry

stable inclusion
from stable-v5.10.154
commit 06de93a47cec1920a7c8d99577c30f80b97b5f0c
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I64YCB

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=06de93a47cec1920a7c8d99577c30f80b97b5f0c



--------------------------------

commit 2398091f upstream.

The type of parameter generation has been u32 since the beginning,
however all callers pass a u64 generation, so unify the types to prevent
potential loss.

CC: stable@vger.kernel.org # 4.9+
Reviewed-by: default avatarJosef Bacik <josef@toxicpanda.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarLipeng Sang <sanglipeng1@jd.com>
parent 0a4812a6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment