]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitb31eabd86eb68d3c217e6821078249bc045e698a
treea6453484e1404ab2f92affad0225b3929dff5df6
parentb1953bcec95c189b1eea690a08e89646d7750bda
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