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

Commit 2e95b665 authored by Josef Whiter's avatar Josef Whiter Committed by Steven Whitehouse
Browse files

[GFS2] fix locking mistake



This patch fixes a locking mistake in the quota code, we do a mutex_lock instead
of a mutex_unlock.

Signed-off-by: default avatarJosef Whiter <jwhiter@redhat.com>
Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
parent 08e15e81
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -279,7 +279,7 @@ static int bh_get(struct gfs2_quota_data *qd)
		(bh->b_data + sizeof(struct gfs2_meta_header) +
		 offset * sizeof(struct gfs2_quota_change));

	mutex_lock(&sdp->sd_quota_mutex);
	mutex_unlock(&sdp->sd_quota_mutex);

	return 0;