ocfs2: Don't double set write parameters
authorMark Fasheh <mark.fasheh@oracle.com>
Wed, 19 Sep 2007 00:49:29 +0000 (17:49 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Thu, 20 Sep 2007 22:06:10 +0000 (15:06 -0700)
commit5c26a7b70f89c36e8d9acc95cb896c3cd205fc8d
tree83471ee744573481ffb2ffee09e0fe7fcf9643bd
parentdb56246c6980e376b02d2da568d119da71f82fb9
ocfs2: Don't double set write parameters

The target page offsets were being incorrectly set a second time in
ocfs2_prepare_page_for_write(), which was causing problems on a 16k page
size kernel. Additionally, ocfs2_write_failure() was incorrectly using those
parameters instead of the parameters for the individual page being cleaned
up.

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