]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: move btrfs_swapfile_pin into volumes.h
authorJosef Bacik <josef@toxicpanda.com>
Wed, 14 Sep 2022 23:04:43 +0000 (19:04 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Sep 2022 10:28:06 +0000 (12:28 +0200)
commit359ea111699351752e3e4aac1755106d4ece7f16
tree3ecd868cf0ae66e09e4da574cc550ce8ea3c3897
parent9c243cb4db0575484ea2e0cb37a2e292babd6673
btrfs: move btrfs_swapfile_pin into volumes.h

This isn't a great spot for this, but one of the swapfile helper
functions is in volumes.c, so move the struct to volumes.h.  In the
future when we have better separation of code there will be a more
natural spot for this.

Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/volumes.h