Commit f6d9abbc authored by Nikolay Borisov's avatar Nikolay Borisov Committed by David Sterba

btrfs: Export btrfs_release_disk_super

Preparatory patch for removal of buffer_head usage in btrfs.
Signed-off-by: default avatarNikolay Borisov <nborisov@suse.com>
Signed-off-by: default avatarJohannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 55ffaabe
......@@ -1247,7 +1247,7 @@ int btrfs_open_devices(struct btrfs_fs_devices *fs_devices,
return ret;
}
static void btrfs_release_disk_super(struct page *page)
void btrfs_release_disk_super(struct page *page)
{
kunmap(page);
put_page(page);
......
......@@ -484,6 +484,7 @@ int btrfs_finish_chunk_alloc(struct btrfs_trans_handle *trans,
int btrfs_remove_chunk(struct btrfs_trans_handle *trans, u64 chunk_offset);
struct extent_map *btrfs_get_chunk_map(struct btrfs_fs_info *fs_info,
u64 logical, u64 length);
void btrfs_release_disk_super(struct page *page);
static inline void btrfs_dev_stat_inc(struct btrfs_device *dev,
int index)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment