btrfs: Switch from using the private_2 flag to owner_2
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 2 Oct 2024 04:01:06 +0000 (05:01 +0100)
committerChristian Brauner <brauner@kernel.org>
Fri, 4 Oct 2024 07:24:25 +0000 (09:24 +0200)
commita6752a6e7fb0537ed9cc22049de06b688821d7b1
tree771895ef418852a43f3a54d11e349632880c38de
parenta04d5f82fa3893aa06386db93883b151b93b11ed
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) <willy@infradead.org>
Link: https://lore.kernel.org/r/20241002040111.1023018-5-willy@infradead.org
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/btrfs/ctree.h
fs/btrfs/inode.c
fs/btrfs/ordered-data.c