All of lore.kernel.org
 help / color / mirror / Atom feed
From: Josef Bacik <josef@toxicpanda.com>
To: linux-btrfs@vger.kernel.org, kernel-team@fb.com
Subject: [PATCH 17/26] btrfs: move the snapshot drop related prototypes to extent-tree.h
Date: Wed, 26 Oct 2022 15:08:32 -0400	[thread overview]
Message-ID: <2235e6eb3854dc111d0e0211c4a4d012741d6691.1666811039.git.josef@toxicpanda.com> (raw)
In-Reply-To: <cover.1666811038.git.josef@toxicpanda.com>

These belong in extent-tree.h, they were missed because they were not
grouped with the other extent-tree.c prototypes.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
---
 fs/btrfs/ctree.h       | 6 ------
 fs/btrfs/extent-tree.h | 6 ++++++
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index ae2af0aeebc4..dcbfb1b9d269 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -675,12 +675,6 @@ static inline int btrfs_next_item(struct btrfs_root *root, struct btrfs_path *p)
 	return btrfs_next_old_item(root, p, 0);
 }
 int btrfs_leaf_free_space(struct extent_buffer *leaf);
-int __must_check btrfs_drop_snapshot(struct btrfs_root *root, int update_ref,
-				     int for_reloc);
-int btrfs_drop_subtree(struct btrfs_trans_handle *trans,
-			struct btrfs_root *root,
-			struct extent_buffer *node,
-			struct extent_buffer *parent);
 
 /* orphan.c */
 int btrfs_insert_orphan_item(struct btrfs_trans_handle *trans,
diff --git a/fs/btrfs/extent-tree.h b/fs/btrfs/extent-tree.h
index 41870ba98346..df4c92c81fa9 100644
--- a/fs/btrfs/extent-tree.h
+++ b/fs/btrfs/extent-tree.h
@@ -72,5 +72,11 @@ int btrfs_pin_reserved_extent(struct btrfs_trans_handle *trans, u64 start,
 int btrfs_finish_extent_commit(struct btrfs_trans_handle *trans);
 int btrfs_inc_extent_ref(struct btrfs_trans_handle *trans,
 			 struct btrfs_ref *generic_ref);
+int __must_check btrfs_drop_snapshot(struct btrfs_root *root, int update_ref,
+				     int for_reloc);
+int btrfs_drop_subtree(struct btrfs_trans_handle *trans,
+			struct btrfs_root *root,
+			struct extent_buffer *node,
+			struct extent_buffer *parent);
 
 #endif
-- 
2.26.3


  parent reply	other threads:[~2022-10-26 19:12 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-26 19:08 [PATCH 00/26] btrfs: final ctree.h cleanups Josef Bacik
2022-10-26 19:08 ` [PATCH 01/26] btrfs: convert discard stat defs to enum Josef Bacik
2022-10-27  6:43   ` Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 02/26] btrfs: move btrfs_chunk_item_size out of ctree.h Josef Bacik
2022-10-27  6:43   ` Johannes Thumshirn
2022-10-27 13:40     ` David Sterba
2022-10-26 19:08 ` [PATCH 03/26] btrfs: add dependencies to fs.h and block-rsv.h Josef Bacik
2022-10-27  6:45   ` Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 04/26] btrfs: add blk_types.h include to compression.h Josef Bacik
2022-10-27  6:45   ` Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 05/26] btrfs: move the printk and assert helpers to messages.c Josef Bacik
2022-10-28  5:22   ` Anand Jain
2022-10-28 19:37     ` David Sterba
2022-10-31  7:51       ` Anand Jain
2022-10-26 19:08 ` [PATCH 06/26] btrfs: move inode prototypes to btrfs_inode.h Josef Bacik
2022-10-27  6:54   ` Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 07/26] btrfs: rename tree-defrag.c to defrag.c Josef Bacik
2022-10-27  6:55   ` Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 08/26] btrfs: move the auto defrag code " Josef Bacik
2022-10-28  5:30   ` Anand Jain
2022-10-26 19:08 ` [PATCH 09/26] btrfs: move the file defrag code into defrag.c Josef Bacik
2022-10-28  5:28   ` Anand Jain
2022-10-26 19:08 ` [PATCH 10/26] btrfs: move defrag related prototypes to their own header Josef Bacik
2022-10-27  7:17   ` Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 11/26] btrfs: move dir-item prototypes into dir-item.h Josef Bacik
2022-10-27  7:17   ` Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 12/26] btrfs: move file-item prototypes into their own header Josef Bacik
2022-10-27  7:35   ` Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 13/26] btrfs: move uuid tree prototypes to uuid-tree.h Josef Bacik
2022-10-27  9:41   ` Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 14/26] btrfs: move ioctl prototypes into ioctl.h Josef Bacik
2022-10-27  9:42   ` Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 15/26] btrfs: move file prototypes to file.h Josef Bacik
2022-10-27 10:04   ` Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 16/26] btrfs: move the 32bit warn defines into messages.h Josef Bacik
2022-10-27 10:08   ` Johannes Thumshirn
2022-10-26 19:08 ` Josef Bacik [this message]
2022-10-27 10:10   ` [PATCH 17/26] btrfs: move the snapshot drop related prototypes to extent-tree.h Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 18/26] btrfs: move acl prototypes into acl.h Josef Bacik
2022-10-27 10:10   ` Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 19/26] btrfs: move relocation prototypes into relocation.h Josef Bacik
2022-10-27 10:18   ` Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 20/26] btrfs: move scrub prototypes into scrub.h Josef Bacik
2022-10-27 10:18   ` Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 21/26] btrfs: move dev-replace prototypes into dev-replace.h Josef Bacik
2022-10-27 10:19   ` Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 22/26] btrfs: move verity prototypes into verity.h Josef Bacik
2022-10-27 10:19   ` Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 23/26] btrfs: move CONFIG_BTRFS_FS_RUN_SANITY_TESTS checks to fs.h Josef Bacik
2022-10-27 10:20   ` Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 24/26] btrfs: move super prototypes into super.h Josef Bacik
2022-10-27 10:20   ` Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 25/26] btrfs: move super_block specific helpers " Josef Bacik
2022-10-27 10:21   ` Johannes Thumshirn
2022-10-26 19:08 ` [PATCH 26/26] btrfs: move orphan prototypes into orphan.h Josef Bacik
2022-10-26 20:52   ` kernel test robot
2022-10-27 14:02     ` David Sterba
2022-10-27 11:32   ` kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2235e6eb3854dc111d0e0211c4a4d012741d6691.1666811039.git.josef@toxicpanda.com \
    --to=josef@toxicpanda.com \
    --cc=kernel-team@fb.com \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.