]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: fix comment for btrfs ordered extent flag bits
authorQu Wenruo <wqu@suse.com>
Thu, 11 Feb 2021 08:14:05 +0000 (16:14 +0800)
committerDavid Sterba <dsterba@suse.com>
Tue, 6 Apr 2021 13:35:51 +0000 (15:35 +0200)
commitc7242751b55ee67b8353a6ea3ca0dcb5cb9581e1
treeaf3452179a7f3d50aab8cee0ca17081d76181c12
parent0a50438c84363bd37fe18fe432888ae9a074dcab
btrfs: fix comment for btrfs ordered extent flag bits

There is small error in comment about BTRFS_ORDERED_* flags, added in
commit 3c198fe06449 ("btrfs: rework the order of
btrfs_ordered_extent::flags") but the fixup did not get merged in time.

The 4 types are for ordered extent itself, not for direct io.
Only 3 types support direct io, REGULAR/NOCOW/PREALLOC.

Fix the comment to reflect that.

Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ordered-data.h