Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 773ed1a0 authored by Robert Peterson's avatar Robert Peterson Committed by Steven Whitehouse
Browse files

[GFS2] Addendum to the journaled file/unmount patch



This patch is an addendum to the previous journaled file/unmount patch.
It fixes a problem discovered during testing.

Signed-off-by: default avatarBob Peterson <rpeterso@redhat.com>
Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
parent eaf5bd3c
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -472,8 +472,10 @@ static void databuf_lo_add(struct gfs2_sbd *sdp, struct gfs2_log_element *le)
		return;
	}
	tr->tr_touched = 1;
	if (gfs2_is_jdata(ip)) {
		tr->tr_num_buf++;
		list_add(&bd->bd_list_tr, &tr->tr_list_buf);
	}
	gfs2_log_unlock(sdp);
	if (!list_empty(&le->le_list))
		return;