diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2025-01-30 14:56:22 +0100 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2025-02-07 10:27:25 +0100 |
commit | 34ad6fa2add2b38f2a89d28518de0142bff8fb43 (patch) | |
tree | 09123d1cf108361d1c446dd822a716cabefbbba2 /tools/perf/scripts/python/task-analyzer.py | |
parent | d9b3a3c70df2c2b87c83ca3f6e8ab49bd092fdbd (diff) |
gfs2: switch to lockref_init(..., 1)
In qd_alloc(), initialize the lockref count to 1 to cover the common
case. Compensate for that in gfs2_quota_init() by adjusting the count
back down to 0; this only occurs when mounting the filesystem rw.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Link: https://lore.kernel.org/r/20250130135624.1899988-3-agruenba@redhat.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions