diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2024-10-02 04:01:06 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2024-10-04 07:24:25 +0000 |
| commit | a6752a6e7fb0537ed9cc22049de06b688821d7b1 (patch) | |
| tree | 771895ef418852a43f3a54d11e349632880c38de /fs/btrfs/ordered-data.c | |
| parent | mm: Remove PageMappedToDisk (diff) | |
| download | kernel-a6752a6e7fb0537ed9cc22049de06b688821d7b1.tar.gz kernel-a6752a6e7fb0537ed9cc22049de06b688821d7b1.zip | |
btrfs: Switch from using the private_2 flag to owner_2
We are close to removing the private_2 flag, so switch btrfs to using
owner_2 for its ordered flag. This is mostly used by buffer head
filesystems, so btrfs can use it because it doesn't use buffer heads.
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Josef Bacik <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'fs/btrfs/ordered-data.c')
| -rw-r--r-- | fs/btrfs/ordered-data.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/ordered-data.c b/fs/btrfs/ordered-data.c index 2104d60c2161..95c8499a159a 100644 --- a/fs/btrfs/ordered-data.c +++ b/fs/btrfs/ordered-data.c @@ -346,10 +346,10 @@ static bool can_finish_ordered_extent(struct btrfs_ordered_extent *ordered, ASSERT(file_offset + len <= folio_pos(folio) + folio_size(folio)); /* - * Ordered (Private2) bit indicates whether we still have + * Ordered flag indicates whether we still have * pending io unfinished for the ordered extent. * - * If there's no such bit, we need to skip to next range. + * If it's not set, we need to skip to next range. */ if (!btrfs_folio_test_ordered(fs_info, folio, file_offset, len)) return false; |
