• J
    nbd: fix 64-bit division · e88f72cb
    Jens Axboe 提交于
    We have this:
    
    ERROR: "__aeabi_ldivmod" [drivers/block/nbd.ko] undefined!
    ERROR: "__divdi3" [drivers/block/nbd.ko] undefined!
    nbd.c:(.text+0x247c72): undefined reference to `__divdi3'
    
    due to a recent commit, that did 64-bit division. Use the proper
    divider function so that 32-bit compiles don't break.
    
    Fixes: ef77b515 ("nbd: use loff_t for blocksize and nbd_set_size args")
    Signed-off-by: NJens Axboe <axboe@fb.com>
    e88f72cb
nbd.c 26.8 KB