]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: catch errors from btrfs_sync_log
authorChris Mason <chris.mason@oracle.com>
Mon, 31 Jan 2011 21:48:24 +0000 (16:48 -0500)
committerChris Mason <chris.mason@oracle.com>
Mon, 31 Jan 2011 21:48:24 +0000 (16:48 -0500)
commit18b68c132a30506111256254b56c6c3d73a59565
treea6453484e1404ab2f92affad0225b3929dff5df6
parentcaa8312f7222c3ad492bebe1f393e8ca6df20dfd
Btrfs: catch errors from btrfs_sync_log

btrfs_sync_log returns -EAGAIN when we need full transaction commits
instead of small log commits, but sometimes we were dropping the return
value.

In practice, we check for this a few different ways, but this is still a
bug that can leave off full log commits when we really need them.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/tree-log.c