path: root/free-space-cache.c
diff options
authorEric Sandeen <>2013-08-06 20:03:33 -0500
committerDavid Sterba <>2013-09-03 19:40:53 +0200
commit989ca65a11c4c537127207eaa019ac4149599017 (patch)
treeb798a8113b8dbf4f5541653046cd8fa53540cde1 /free-space-cache.c
parent6a0af4e57b58e9756e246db6967423ea6fa83265 (diff)
btrfs-progs: mark static & remove unused from shared kernel code
In files copied from the kernel, mark many functions as static, and remove any resulting dead code. Some functions are left unmarked if they aren't static in the kernel tree. Signed-off-by: Eric Sandeen <> Signed-off-by: Chris Mason <>
Diffstat (limited to 'free-space-cache.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/free-space-cache.c b/free-space-cache.c
index 6c2e1894..35edac24 100644
--- a/free-space-cache.c
+++ b/free-space-cache.c
@@ -257,7 +257,7 @@ static int io_ctl_read_bitmap(struct io_ctl *io_ctl,
-int __load_free_space_cache(struct btrfs_root *root,
+static int __load_free_space_cache(struct btrfs_root *root,
struct btrfs_free_space_ctl *ctl,
struct btrfs_path *path, u64 offset)