diff options
Diffstat (limited to 'fs/btrfs/root-tree.c')
-rw-r--r-- | fs/btrfs/root-tree.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/root-tree.c b/fs/btrfs/root-tree.c index dbe20d4c6ea4..f99335a999d6 100644 --- a/fs/btrfs/root-tree.c +++ b/fs/btrfs/root-tree.c | |||
@@ -276,6 +276,7 @@ out: | |||
276 | return ret; | 276 | return ret; |
277 | } | 277 | } |
278 | 278 | ||
279 | #if 0 /* this will get used when snapshot deletion is implemented */ | ||
279 | int btrfs_del_root_ref(struct btrfs_trans_handle *trans, | 280 | int btrfs_del_root_ref(struct btrfs_trans_handle *trans, |
280 | struct btrfs_root *tree_root, | 281 | struct btrfs_root *tree_root, |
281 | u64 root_id, u8 type, u64 ref_id) | 282 | u64 root_id, u8 type, u64 ref_id) |
@@ -299,6 +300,7 @@ int btrfs_del_root_ref(struct btrfs_trans_handle *trans, | |||
299 | btrfs_free_path(path); | 300 | btrfs_free_path(path); |
300 | return ret; | 301 | return ret; |
301 | } | 302 | } |
303 | #endif | ||
302 | 304 | ||
303 | int btrfs_find_root_ref(struct btrfs_root *tree_root, | 305 | int btrfs_find_root_ref(struct btrfs_root *tree_root, |
304 | struct btrfs_path *path, | 306 | struct btrfs_path *path, |