[PATCH 3.18 087/144] Btrfs: avoid syncing log in the fast fsync path when not necessary