summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fb.com>2016-12-03 00:19:12 +0300
committerJens Axboe <axboe@fb.com>2016-12-03 07:06:29 +0300
commitef77b515243b3499d62cf446eda6ca7e0a0b079c (patch)
tree02aaf159bb8b651e9be9c4add83b9afca512a85d /Makefile
parent209200efa3db3d09380ee7c796efa73d900d5f3a (diff)
downloadlinux-ef77b515243b3499d62cf446eda6ca7e0a0b079c.tar.xz
nbd: use loff_t for blocksize and nbd_set_size args
If we have large devices (say like the 40t drive I was trying to test with) we will end up overflowing the int arguments to nbd_set_size and not get the right size for our device. Fix this by using loff_t everywhere so I don't have to think about this again. Thanks, Signed-off-by: Josef Bacik <jbacik@fb.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions