aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/lightnvm.h
diff options
context:
space:
mode:
authorAlan <gnomes@lxorguk.ukuu.org.uk>2016-02-19 13:56:57 +0100
committerJens Axboe <axboe@fb.com>2016-03-03 14:45:53 -0700
commit5e422cffe822874cefc1657cd287c8647b2782dd (patch)
tree9c034345eb0b5830cb43e64e6a6fab762a9a50c1 /include/linux/lightnvm.h
parentxen-blkback: advertise indirect segment support earlier (diff)
downloadwireguard-linux-5e422cffe822874cefc1657cd287c8647b2782dd.tar.xz
wireguard-linux-5e422cffe822874cefc1657cd287c8647b2782dd.zip
lightnvm: fix up nonsensical configure overrun checking
Instead of checking a constant 0 actually check the space available. Even better remember to allow for the header and also check the right amount of space is needed. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include/linux/lightnvm.h')
0 files changed, 0 insertions, 0 deletions