[sheepdog] [PATCH v2 4/4] sheep: remove command line argument --vnodes
MORITA Kazutaka
morita.kazutaka at lab.ntt.co.jp
Sat Aug 4 08:24:32 CEST 2012
At Fri, 3 Aug 2012 20:50:11 +0800,
levin li wrote:
> @@ -318,8 +307,10 @@ int main(int argc, char **argv)
> break;
> }
> }
> - if (nr_vnodes == 0)
> + if (nr_vnodes == 0) {
> sys->gateway_only = 1;
> + sys->disk_space = 0;
> + }
This doesn't work because init_disk_space calculates a free disk space
when sys->disk_space equals zero.
Thanks,
Kazutaka
More information about the sheepdog
mailing list