commit | db56246c6980e376b02d2da568d119da71f82fb9 | [log] [tgz] |
---|---|---|
author | Mark Fasheh <mark.fasheh@oracle.com> | Mon Sep 17 09:06:29 2007 -0700 |
committer | Mark Fasheh <mark.fasheh@oracle.com> | Thu Sep 20 15:06:09 2007 -0700 |
tree | dc88e09c80d50dd77580d1d9366bac8c74c9bffa | |
parent | 415cb800375cc4e89fb5a6a454e484bd4adbffb4 [diff] |
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 <mark.fasheh@oracle.com>