Btrfs/tracepoint: fix to report right flags for ordered extent
authorLiu Bo <bo.li.liu@oracle.com>
Wed, 6 Nov 2013 04:04:13 +0000 (12:04 +0800)
committerChris Mason <clm@fb.com>
Tue, 28 Jan 2014 21:19:38 +0000 (13:19 -0800)
commit9d04a8ceacddd52621df59b52f8ec28aa4042b16
tree5ddab1b1a78811db38a64577f909cea00a53e0ce
parent3f870c28990015a1fd6c67807efcdb02a75b35e1
Btrfs/tracepoint: fix to report right flags for ordered extent

We use set_bit() to assign ordered extent's flags, but in the related
tracepoint we don't do the same thing, which makes the trace output
not to parse flags correctly.

Also, since the flags are bits stuff, we change to use __print_flags with
a 'delim' instead of __print_symbolic.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <clm@fb.com>
include/trace/events/btrfs.h