Mark Fasheh eeb47d1234 ocfs2: Fix invalid assertion during write on 64k pages
The write path code intends to bug if a math error (or unhandled case)
results in a write outside of the current cluster boundaries. The actual
BUG_ON() statements however are incorrect, leading to a crash on kernels
with 64k page size. Fix those by checking against the right variables.

Also, move the assertions higher up within the functions so that they trip
*before* the code starts to mark buffers.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
2007-06-06 16:42:03 -07:00
..
2007-06-06 16:41:08 -07:00
2007-05-17 05:23:04 -07:00
2007-05-02 15:08:08 -07:00
2007-04-26 15:10:40 -07:00
2007-04-26 15:10:40 -07:00
2007-05-02 15:07:16 -07:00
2007-05-25 11:00:46 -07:00
2007-05-02 15:08:08 -07:00
2007-05-02 15:07:16 -07:00
2007-04-26 14:39:48 -07:00
2007-05-02 15:08:08 -07:00
2007-05-17 05:23:04 -07:00
2007-05-07 12:12:51 -07:00
2006-12-07 08:39:25 -08:00
2007-04-26 14:40:16 -07:00