btrfs: fix type of parameter generation in btrfs_get_dentry
authorDavid Sterba <dsterba@suse.com>
Tue, 18 Oct 2022 14:05:52 +0000 (16:05 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 24 Oct 2022 13:28:58 +0000 (15:28 +0200)
commit2398091f9c2c8e0040f4f9928666787a3e8108a7
tree42be1f3a15e852c7be9ef8e62357caa82431f0ef
parent9b8be45f1ef29081c4b614aa559f934526e70d16
btrfs: fix type of parameter generation in btrfs_get_dentry

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: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/export.c
fs/btrfs/export.h