From: FUJITA Tomonori Date: Tue, 13 Feb 2007 14:21:52 +0000 (+0900) Subject: [SCSI] tgt: fix the user/kernel ring buffer interface X-Git-Tag: v2.6.21-rc1~68^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=930e99bd1320d78c7d8866595e81b8fc7dc8739b;p=pandora-kernel.git [SCSI] tgt: fix the user/kernel ring buffer interface This patches fixes two bugs in the scsi target infrastructure's user/kernel interface. - It wrongly assumes that the ring buffer size of the interface (64KB) is larger than or equal to the system page size. This patch sets the ring buffer size to PAGE_SIZE if the system page size is larger. - It uses PAGE_SIZE in the header file exported to userspace. This patch removes it. Signed-off-by: FUJITA Tomonori Signed-off-by: James Bottomley --- Reading git-diff-tree failed