Btrfs: parse parent 0 into correct value in tracepoint
authorLiu Bo <bo.li.liu@oracle.com>
Fri, 30 Nov 2012 11:24:22 +0000 (11:24 +0000)
committerChris Mason <chris.mason@fusionio.com>
Mon, 17 Dec 2012 01:46:18 +0000 (20:46 -0500)
commitfb57dc817c24d46b035320d871b7a3fcc778558d
tree0cc379d4bdf7b4d84f1890d5410d21421377ba2c
parent960097622d48bf0ee8f6c0cf751a904066c4b45b
Btrfs: parse parent 0 into correct value in tracepoint

Value 0 is not a tree id, so besides an upper limit, a lower limit is
necessary as well while parsing root types of tracepoint.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
include/trace/events/btrfs.h