diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2022-10-10 20:13:22 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-10-10 20:13:22 -0700 |
| commit | 288fc86067620dcbec34a335b95b75635551e8fe (patch) | |
| tree | 9d18c8bbee7078b1f2ec44d457f49aeb7325603c /fs/gfs2/super.c | |
| parent | 4875d2ffb0104db625db281944d18e8987f97030 (diff) | |
| parent | c7d7d2d345697eb3781198e58a22504feb74af63 (diff) | |
| download | linux-288fc86067620dcbec34a335b95b75635551e8fe.tar.gz linux-288fc86067620dcbec34a335b95b75635551e8fe.tar.bz2 linux-288fc86067620dcbec34a335b95b75635551e8fe.zip | |
Merge tag 'gfs2-nopid-for-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2
Pull gfs2 debugfs updates from Andreas Gruenbacher:
- Improve the way how the state of glocks is reported in debugfs for
glocks which are not held by processes, but rather by other resouces
like cached inodes or flocks.
* tag 'gfs2-nopid-for-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2:
gfs2: Mark the remaining process-independent glock holders as GL_NOPID
gfs2: Mark flock glock holders as GL_NOPID
gfs2: Add GL_NOPID flag for process-independent glock holders
gfs2: Add flocks to glockfd debugfs file
gfs2: Add glockfd debugfs file
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 b5b0f285b27f..b018957a1bb2 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; |
