patch:reiserfs 3.6.25 + LVM(Fix oops reiserfs filesystem)
reiserfs_fs.h Sat Jan 13 22:46:42 2001 renamed from reiserfs_fs.h.old Sat Jan 13 22:17:45 2001 +1 -1
@@ -1420,7 +1420,7 @@ #define op_is_left_mergeable(key,bsize) item_ops[le_key_k_type (le_key_version (key), key)]->is_left_mergeable (key, bsize) #define op_print_item(ih,item) item_ops[le_ih_k_type (ih)]->print_item (ih, item) #define op_check_item(ih,item) item_ops[le_ih_k_type (ih)]->check_item (ih, item) -#define op_create_vi(vn,vi,is_affected,insert_size) item_ops[le_ih_k_type (vi->vi_ih)]->create_vi (vn,vi,is_affected,insert_size) +#define op_create_vi(vn,vi,is_affected,insert_size) item_ops[le_ih_k_type(vi->vi_ih)]->create_vi > 0 ? item_ops[le_ih_k_type (vi->vi_ih)]->create_vi(vn,vi,is_affected,insert_size) : 0 #define op_check_left(vi,free,start_skip,end_skip) item_ops[(vi)->vi_index]->check_left (vi, free, start_skip, end_skip) #define op_check_right(vi,free) item_ops[(vi)->vi_index]->check_right (vi, free) #define op_part_size(vi,from,to) item_ops[(vi)->vi_index]->part_size (vi, from, to)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
On Saturday, January 13, 2001 11:41:51 PM -0800 hugang <[email protected]> wrote:
[ patch ]
Odd, the create_vi op should never be null, so the real fix is somewhere else. We'll look into this.
-chris
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/