]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfcfb533f109417496c009af61037583cff39548a
tree83471ee744573481ffb2ffee09e0fe7fcf9643bd
parent3e8daa2fc19d1fceeb89dc163e2e8d3cac47f7ff
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