xfs: fix segment in xfs_buf_item_format_segment
authorMark Tinguely <tinguely@sgi.com>
Tue, 4 Dec 2012 23:18:04 +0000 (17:18 -0600)
committerBen Myers <bpm@sgi.com>
Mon, 17 Dec 2012 22:26:01 +0000 (16:26 -0600)
commit820a554f2f83d21f7e9e608377c8c86af70917bd
treee33f0abb07f0c75922a2b28f878958c12343cd40
parentb94381737e9c4d014a4003e8ece9ba88670a2dd4
xfs: fix segment in xfs_buf_item_format_segment

Not every segment in a multi-segment buffer is dirty in a
transaction and they will not be outputted. The assert in
xfs_buf_item_format_segment() that checks for the at least
one chunk of data in the segment to be used is not necessary
true for multi-segmented buffers.

Signed-off-by: Mark Tinguely <tinguely@sgi.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_buf_item.c
This page took 0.028346 seconds and 5 git commands to generate.