]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: send: silence an integer overflow warning
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 13 Apr 2016 06:40:59 +0000 (09:40 +0300)
committerDavid Sterba <dsterba@suse.com>
Fri, 6 May 2016 13:22:49 +0000 (15:22 +0200)
commitf5ecec3ce21f706e9e7a330b2e8e5a2941927b46
tree8f165eaa2ec88ddbd6ed769345523484ad8ca5ce
parent41b34accb265e3a20211a7a8ef3625678f1c6ec7
btrfs: send: silence an integer overflow warning

The "sizeof(*arg->clone_sources) * arg->clone_sources_count" expression
can overflow.  It causes several static checker warnings.  It's all
under CAP_SYS_ADMIN so it's not that serious but lets silence the
warnings.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/send.c