ocfs2: Fix some casting errors related to file writes
authorMark Fasheh <mark.fasheh@oracle.com>
Fri, 20 Jul 2007 18:58:36 +0000 (11:58 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Fri, 10 Aug 2007 00:25:27 +0000 (17:25 -0700)
commit7c08d70c69150148c14f02633855f1591219c37c
treed33828db9b500afbd2168e9667dddb8450683804
parenta00cce356b5592208e761525a48a25902322cce9
ocfs2: Fix some casting errors related to file writes

ocfs2_align_clusters_to_page_index() needs to cast the clusters shift to
pgoff_t and ocfs2_file_buffered_write() needs loff_t when calculating
destination start for memcpy.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/file.c
fs/ocfs2/ocfs2.h