From: Mark Fasheh Date: Mon, 17 Sep 2007 16:06:29 +0000 (-0700) Subject: ocfs2: Fix pos/len passed to ocfs2_write_cluster X-Git-Tag: v2.6.23-rc8~14^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db56246c6980e376b02d2da568d119da71f82fb9;p=pandora-kernel.git ocfs2: Fix pos/len passed to ocfs2_write_cluster This was broken for file systems whose cluster size is greater than page size. Pos needs to be incremented as we loop through the descriptors, and len needs to be capped to the size of a single cluster. Signed-off-by: Mark Fasheh --- Reading git-diff-tree failed