]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
btrfs: declare btrfs_report_missing_device() static
authorAnand Jain <anand.jain@oracle.com>
Mon, 9 Oct 2017 03:07:45 +0000 (11:07 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 30 Oct 2017 11:27:59 +0000 (12:27 +0100)
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c
fs/btrfs/volumes.h

index 3896dfd6c8e04784aa1f7a75429dd41e456091aa..ce5e9ec4cdde0c741d397b83a21f3a66905e5c30 100644 (file)
@@ -6366,6 +6366,12 @@ static int btrfs_check_chunk_valid(struct btrfs_fs_info *fs_info,
        return 0;
 }
 
+static void btrfs_report_missing_device(struct btrfs_fs_info *fs_info,
+                                               u64 devid, u8 *uuid)
+{
+       btrfs_warn_rl(fs_info, "devid %llu uuid %pU is missing", devid, uuid);
+}
+
 static int read_one_chunk(struct btrfs_fs_info *fs_info, struct btrfs_key *key,
                          struct extent_buffer *leaf,
                          struct btrfs_chunk *chunk)
@@ -6752,12 +6758,6 @@ int btrfs_read_sys_array(struct btrfs_fs_info *fs_info)
        return -EIO;
 }
 
-void btrfs_report_missing_device(struct btrfs_fs_info *fs_info, u64 devid,
-                                u8 *uuid)
-{
-       btrfs_warn_rl(fs_info, "devid %llu uuid %pU is missing", devid, uuid);
-}
-
 /*
  * Check if all chunks in the fs are OK for read-write degraded mount
  *
index 6108fdfec67fb4340042030435ac959a77b03997..ff15208344a7b0c7f2d05bff338c8b46bc2546a9 100644 (file)
@@ -542,7 +542,5 @@ void btrfs_set_fs_info_ptr(struct btrfs_fs_info *fs_info);
 void btrfs_reset_fs_info_ptr(struct btrfs_fs_info *fs_info);
 
 bool btrfs_check_rw_degradable(struct btrfs_fs_info *fs_info);
-void btrfs_report_missing_device(struct btrfs_fs_info *fs_info, u64 devid,
-                                u8 *uuid);
 
 #endif