summaryrefslogtreecommitdiff
path: root/fs/bcachefs/super.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2019-12-26 14:54:43 -0500
committerKent Overstreet <kent.overstreet@gmail.com>2020-11-05 12:44:59 -0500
commite0f3fee63a1b754f8734a584a9baaa5911639f8d (patch)
tree2194a6b9377a61aa0ea9e1c2f7f7c6230d83e613 /fs/bcachefs/super.c
parent8df2fff8f2c165d6d7179d90e4fc2f4a3a1dd26a (diff)
bcachefs: Don't export __bch2_fs_read_write
BTREE_INSERT_LAZY_RW was added for this since this code was written; use it instead. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/super.c')
-rw-r--r--fs/bcachefs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/super.c b/fs/bcachefs/super.c
index 221d16c7f999..51728c21c59f 100644
--- a/fs/bcachefs/super.c
+++ b/fs/bcachefs/super.c
@@ -365,7 +365,7 @@ static int bch2_fs_read_write_late(struct bch_fs *c)
return 0;
}
-int __bch2_fs_read_write(struct bch_fs *c, bool early)
+static int __bch2_fs_read_write(struct bch_fs *c, bool early)
{
struct bch_dev *ca;
unsigned i;