From 63fbf458cb7d7df6b58f982df7496f79ee9e6863 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Fri, 4 Oct 2019 20:40:47 -0400 Subject: bcachefs: Can't be holding read locks while taking write locks Signed-off-by: Kent Overstreet --- fs/bcachefs/dirent.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fs/bcachefs/dirent.h') diff --git a/fs/bcachefs/dirent.h b/fs/bcachefs/dirent.h index 9a57ad005468..e6184dc796d3 100644 --- a/fs/bcachefs/dirent.h +++ b/fs/bcachefs/dirent.h @@ -55,7 +55,7 @@ int bch2_dirent_rename(struct btree_trans *, struct btree_iter * __bch2_dirent_lookup_trans(struct btree_trans *, u64, const struct bch_hash_info *, - const struct qstr *); + const struct qstr *, unsigned); u64 bch2_dirent_lookup(struct bch_fs *, u64, const struct bch_hash_info *, const struct qstr *); -- cgit v1.2.3