summaryrefslogtreecommitdiff
path: root/libbcachefs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbcachefs/inode.c')
-rw-r--r--libbcachefs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcachefs/inode.c b/libbcachefs/inode.c
index a2c96f7c..b861ab2e 100644
--- a/libbcachefs/inode.c
+++ b/libbcachefs/inode.c
@@ -1173,7 +1173,7 @@ again:
break;
if (ret) {
- if (!test_bit(BCH_FS_RW, &c->flags)) {
+ if (!test_bit(BCH_FS_rw, &c->flags)) {
bch2_trans_unlock(trans);
bch2_fs_lazy_rw(c);
}