]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8237c3cc05b16fae59c05a707d38fc46becf516d
tree42be1f3a15e852c7be9ef8e62357caa82431f0ef
parente61de6a8669c3eb82c4b826904ee3c3605e51438
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