public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* patch:reiserfs 3.6.25 + LVM(Fix oops reiserfs filesystem)
@ 2001-01-14  7:41 hugang
  2001-01-15 19:57 ` Chris Mason
  0 siblings, 1 reply; 2+ messages in thread
From: hugang @ 2001-01-14  7:41 UTC (permalink / raw)
  To: linux-kernel

--- reiserfs_fs.h.old   Sat Jan 13 22:17:45 2001
+++ reiserfs_fs.h       Sat Jan 13 22:46:42 2001
@@ -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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: patch:reiserfs 3.6.25 + LVM(Fix oops reiserfs filesystem)
  2001-01-14  7:41 patch:reiserfs 3.6.25 + LVM(Fix oops reiserfs filesystem) hugang
@ 2001-01-15 19:57 ` Chris Mason
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Mason @ 2001-01-15 19:57 UTC (permalink / raw)
  To: hugang, linux-kernel



On Saturday, January 13, 2001 11:41:51 PM -0800 hugang
<linuxhappy@etang.com> 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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-01-15 19:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-14  7:41 patch:reiserfs 3.6.25 + LVM(Fix oops reiserfs filesystem) hugang
2001-01-15 19:57 ` Chris Mason

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox