xfs: silence Coverity overflow warning
inode size cannot really overflow integer, but Coverity does not know it. CID: 96602
This commit is contained in:
parent
15ba6a40be
commit
4db569ca6a
1 changed files with 1 additions and 1 deletions
|
@ -361,7 +361,7 @@ grub_xfs_inode_offset (struct grub_xfs_data *data,
|
||||||
static inline grub_size_t
|
static inline grub_size_t
|
||||||
grub_xfs_inode_size(struct grub_xfs_data *data)
|
grub_xfs_inode_size(struct grub_xfs_data *data)
|
||||||
{
|
{
|
||||||
return 1 << data->sblock.log2_inode;
|
return (grub_size_t)1 << data->sblock.log2_inode;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue