Unverified Commit 5a632b3f authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!13397 [sync] PR-13348: ceph: remove the incorrect Fw reference check when dirtying pages

parents 64831cb2 3f4edfb1
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -91,7 +91,6 @@ static int ceph_set_page_dirty(struct page *page)

	/* 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,