ocfs2: Fix pos/len passed to ocfs2_write_cluster
authorMark Fasheh <mark.fasheh@oracle.com>
Mon, 17 Sep 2007 16:06:29 +0000 (09:06 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Thu, 20 Sep 2007 22:06:09 +0000 (15:06 -0700)
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 <mark.fasheh@oracle.com>

No differences found