[Drbd-dev] [PATCH] DRBD 8.0 return error when vmalloc fail

Stanislaw Gruszka stf_xl at wp.pl
Fri Feb 1 15:49:50 CET 2008


Bitmap allocation failure is not visible for users. First reason is drbradm
not return status of executed commands  Second determin_dev_size() function
return enum value which badly become non negative at function output from
negative error code (at least for gcc3) . Attached patch is fix for these issues.

Stanislaw Gruszka
-------------- next part --------------
A non-text attachment was scrubbed...
Name: return-error-when-vmalloc-fail.patch
Type: text/x-diff
Size: 3764 bytes
Desc: not available
Url : http://lists.linbit.com/pipermail/drbd-dev/attachments/20080201/5b97ba85/return-error-when-vmalloc-fail.bin


More information about the drbd-dev mailing list