xfs: fix the multi-segment log buffer format
authorMark Tinguely <tinguely@sgi.com>
Tue, 4 Dec 2012 23:18:05 +0000 (17:18 -0600)
committerBen Myers <bpm@sgi.com>
Wed, 16 Jan 2013 22:08:08 +0000 (16:08 -0600)
commit91e4bac0b72736410c88632906953f14259144b1
tree958acd4fc78d39c334a2561b946d225b84d7e2e6
parent2d0e9df579029b62adc72b50977182757cc04cd5
xfs: fix the multi-segment log buffer format

Per Dave Chinner suggestion, this patch:
 1) Corrects the detection of whether a multi-segment buffer is
    still tracking data.
 2) Clears all the buffer log formats for a multi-segment buffer.

Signed-off-by: Mark Tinguely <tinguely@sgi.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_buf_item.c
fs/xfs/xfs_trans_buf.c