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>
Mon, 17 Dec 2012 22:28:14 +0000 (16:28 -0600)
commitc883d0c400fc8cdbd5bbe71e179c9e64ace58e86
tree9f96562f2c974996d6b7a2109fa7c28bd4690696
parent820a554f2f83d21f7e9e608377c8c86af70917bd
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