[sheepdog] [PATCH] bs_sheepdog.c: add missing initialization of read data length

2013-12-18 Thread Ryusuke Konishi
In the sheepdog driver, the read data length argument of do_req function is not initialized by some caller functions such as sd_sync(), sd_close(), and create_branch(). This patch adds those missing initializations to prevent uncertain behavior in do_req() and fixes the following warning of valgri

Re: [sheepdog] [PATCH] bs_sheepdog.c: add missing initialization of read data length

2013-12-18 Thread Hitoshi Mitake
At Thu, 19 Dec 2013 14:46:58 +0900, Ryusuke Konishi wrote: > > In the sheepdog driver, the read data length argument of do_req > function is not initialized by some caller functions such as > sd_sync(), sd_close(), and create_branch(). > > This patch adds those missing initializations to prevent

Re: [sheepdog] [PATCH] bs_sheepdog.c: add missing initialization of read data length

2013-12-19 Thread FUJITA Tomonori
On Thu, 19 Dec 2013 14:46:58 +0900 Ryusuke Konishi wrote: > In the sheepdog driver, the read data length argument of do_req > function is not initialized by some caller functions such as > sd_sync(), sd_close(), and create_branch(). > > This patch adds those missing initializations to prevent un