diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2022-04-05 22:39:16 +0200 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2022-06-29 13:07:54 +0200 |
commit | ebdc416c9c0bed245d6cda92ae2a98483e513051 (patch) | |
tree | d5be0c3433932d29dfef1d2e08a68d9d5839ec63 /fs/gfs2/super.c | |
parent | b582d5f05ddbd61bb72896b31ff83d7f0b0862f5 (diff) | |
download | lwn-ebdc416c9c0bed245d6cda92ae2a98483e513051.tar.gz lwn-ebdc416c9c0bed245d6cda92ae2a98483e513051.zip |
gfs2: Mark the remaining process-independent glock holders as GL_NOPID
Add the GL_NOPID flag for the remaining glock holders which are not
associated with the current process.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/super.c')
-rw-r--r-- | fs/gfs2/super.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c index bdb773e5c88f..90db4a289269 100644 --- a/fs/gfs2/super.c +++ b/fs/gfs2/super.c @@ -346,7 +346,8 @@ static int gfs2_lock_fs_check_clean(struct gfs2_sbd *sdp) } error = gfs2_glock_nq_init(sdp->sd_freeze_gl, LM_ST_EXCLUSIVE, - LM_FLAG_NOEXP, &sdp->sd_freeze_gh); + LM_FLAG_NOEXP | GL_NOPID, + &sdp->sd_freeze_gh); if (error) goto out; |