]> 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)
commit5577f588795234d666ab1111edb17664c1bcc147
tree8f165eaa2ec88ddbd6ed769345523484ad8ca5ce
parent5c3ce60f5d160550fee548873ad5758a58ecfe89
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