[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <68c9b60a.050a0220.50883.001d.GAE@google.com>
Date: Tue, 16 Sep 2025 12:10:02 -0700
From: syzbot <syzbot+fa7122891ab9e0bbc6a7@...kaller.appspotmail.com>
To: linux-kernel@...r.kernel.org
Subject: Forwarded: Sending for testing
For archival purposes, forwarding an incoming command email to
linux-kernel@...r.kernel.org.
***
Subject: Sending for testing
Author: kriish.sharma2006@...il.com
#syz test
diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c
index b677c0e6b9ab..5fdde7d4a393 100644
--- a/fs/gfs2/glock.c
+++ b/fs/gfs2/glock.c
@@ -2284,10 +2284,21 @@ static void dump_holder(struct seq_file *seq, const
struct gfs2_holder *gh,
if (gh_owner)
comm = gh_owner->comm;
}
- gfs2_print_dbg(seq, "%s H: s:%s f:%s e:%d p:%ld [%s] %pS\n",
- fs_id_buf, state2str(gh->gh_state),
- hflags2str(flags_buf, gh->gh_flags, gh->gh_iflags),
- gh->gh_error, (long)owner_pid, comm, (void *)gh->gh_ip);
+
+ if(seq){
+ gfs2_print_dbg(seq, "%s H: s:%s f:%s e:%d p:%ld [%s] %pS\n",
+ fs_id_buf, state2str(gh->gh_state),
+ hflags2str(flags_buf, gh->gh_flags, gh->gh_iflags),
+ gh->gh_error, (long)owner_pid, comm, (void *)gh->gh_ip);
+ }
+
+ else{
+ gfs2_print_dbg(seq, "%s H: s:%s f:%s e:%d p:%ld [%s] %p\n",
+ fs_id_buf, state2str(gh->gh_state),
+ hflags2str(flags_buf, gh->gh_flags, gh->gh_iflags),
+ gh->gh_error, (long)owner_pid, comm,
+ (void *)gh->gh_ip);
+ }
rcu_read_unlock();
}
--
2.34.1
Powered by blists - more mailing lists