btrfs: refactor btrfs_dec_test_* functions for ordered extents
[linux-2.6-microblaze.git] / fs / btrfs / inode.c
index 4056fc3..ef6cb7b 100644 (file)
@@ -7797,10 +7797,8 @@ static void __endio_write_update_ordered(struct btrfs_inode *inode,
                                        NULL);
                        btrfs_queue_work(wq, &ordered->work);
                }
-               /*
-                * If btrfs_dec_test_ordered_pending does not find any ordered
-                * extent in the range, we can exit.
-                */
+
+               /* No ordered extent found in the range, exit */
                if (ordered_offset == last_offset)
                        return;
                /*