linux/fs/ocfs2
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
..
cluster ocfs2: Fix masklog breakage 2007-06-06 16:41:08 -07:00
dlm Remove SLAB_CTOR_CONSTRUCTOR 2007-05-17 05:23:04 -07:00
alloc.c
alloc.h
aops.c ocfs2: Fix invalid assertion during write on 64k pages 2007-06-06 16:42:03 -07:00
aops.h
buffer_head_io.c
buffer_head_io.h
dcache.c
dcache.h
dir.c
dir.h
dlmglue.c
dlmglue.h
endian.h
export.c
export.h
extent_map.c
extent_map.h
file.c [PATCH] ocfs2: use generic_segment_checks 2007-05-25 11:06:37 -07:00
file.h
heartbeat.c
heartbeat.h
inode.c
inode.h
ioctl.c
ioctl.h
journal.c
journal.h
localalloc.c ocfs2: fix inode leak 2007-05-25 11:00:46 -07:00
localalloc.h
Makefile
mmap.c
mmap.h
namei.c
namei.h
ocfs1_fs_compat.h
ocfs2_fs.h
ocfs2_lockid.h
ocfs2.h
slot_map.c
slot_map.h
suballoc.c
suballoc.h
super.c Remove SLAB_CTOR_CONSTRUCTOR 2007-05-17 05:23:04 -07:00
super.h
symlink.c
symlink.h
sysfile.c
sysfile.h
uptodate.c
uptodate.h
ver.c
ver.h
vote.c
vote.h