From: Boaz Harrosh Date: Tue, 19 Oct 2010 12:20:31 +0000 (+0200) Subject: [SCSI] libosd: Fix bug in attr_page handling X-Git-Tag: v2.6.37-rc1~6^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec6a0a41b57feb54b3830918a8fb07147c2ee778;p=pandora-kernel.git [SCSI] libosd: Fix bug in attr_page handling The _osd_req_finalize_attr_page was off by a mile, when trying to append the enc_get_attr segment instead of the proper set_attr segment. Also properly support when we don't have any attribute to set while getting a full page. And when clearing an attribute by setting it's size to zero. Reported-by: John Chandy Signed-off-by: Boaz Harrosh Signed-off-by: James Bottomley --- Reading git-diff-tree failed