summaryrefslogtreecommitdiffstats
path: root/tools/spi
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2022-06-23 23:29:36 +0200
committerAndreas Gruenbacher <agruenba@redhat.com>2022-06-29 13:07:53 +0200
commit56535dc695f8e215dffb9557d6bcbdf46ff785d2 (patch)
tree30f7fc17aef17946703a62fb8185cd8f7e03198f /tools/spi
parent4480c27ca3eaaaae134633a594fba5601da13b4a (diff)
downloadlinux-56535dc695f8e215dffb9557d6bcbdf46ff785d2.tar.bz2
gfs2: Add flocks to glockfd debugfs file
Include flock glocks in the "glockfd" debugfs file. Those are similar to the iopen glocks; while an open file is holding an flock, it is holding the file's flock glock. We cannot take f_fl_mutex in gfs2_glockfd_seq_show_flock() or else dumping the "glockfd" file would block on flock operations. Instead, use the file->f_lock spin lock to protect the f_fl_gh.gh_gl glock pointer. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'tools/spi')
0 files changed, 0 insertions, 0 deletions