diff --git a/fs/btrfs/export.c b/fs/btrfs/export.c index 92f80ed64219..a18b3d193689 100644 --- a/fs/btrfs/export.c +++ b/fs/btrfs/export.c @@ -56,7 +56,7 @@ static int btrfs_encode_fh(struct inode *inode, u32 *fh, int *max_len, } struct dentry *btrfs_get_dentry(struct super_block *sb, u64 objectid, - u64 root_objectid, u32 generation, + u64 root_objectid, u64 generation, int check_generation) { struct btrfs_fs_info *fs_info = btrfs_sb(sb); diff --git a/fs/btrfs/export.h b/fs/btrfs/export.h index 7a305e554999..c7950e0a2f95 100644 --- a/fs/btrfs/export.h +++ b/fs/btrfs/export.h @@ -17,7 +17,7 @@ struct btrfs_fid { } __attribute__ ((packed)); struct dentry *btrfs_get_dentry(struct super_block *sb, u64 objectid, - u64 root_objectid, u32 generation, + u64 root_objectid, u64 generation, int check_generation); struct dentry *btrfs_get_parent(struct dentry *child);