diff --git a/fs/ceph/addr.c b/fs/ceph/addr.c index dd2ce7fabbae..6c325efa1c4e 100644 --- a/fs/ceph/addr.c +++ b/fs/ceph/addr.c @@ -94,7 +94,6 @@ static bool ceph_dirty_folio(struct address_space *mapping, struct folio *folio) /* dirty the head */ spin_lock(&ci->i_ceph_lock); - BUG_ON(ci->i_wr_ref == 0); // caller should hold Fw reference if (__ceph_have_pending_cap_snap(ci)) { struct ceph_cap_snap *capsnap = list_last_entry(&ci->i_cap_snaps,