]> git.ipfire.org Git - thirdparty/grub.git/commit
fs/zfs/zfs: Pass pointer to dnode_end_t instead of value to fill_fs_info()
authorJagannathan Raman <jag.raman@oracle.com>
Fri, 19 Aug 2022 14:57:22 +0000 (10:57 -0400)
committerDaniel Kiper <daniel.kiper@oracle.com>
Fri, 19 Aug 2022 21:55:50 +0000 (23:55 +0200)
commita032782c86575e8d451d1628cc055cad9fb3b096
tree319f2767026515cbdab10ddf88a92f6bd0d39d37
parentde6921ced332951e6493eef629d2f7f54716189b
fs/zfs/zfs: Pass pointer to dnode_end_t instead of value to fill_fs_info()

Coverity reports that dnode_end_t argument of fill_fs_info() is too
large to pass-by-value. Therefore, replace the argument with a pointer.

Fixes: CID 73631
Signed-off-by: Jagannathan Raman <jag.raman@oracle.com>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/fs/zfs/zfs.c