Skip to content

Commit 60ea27e

Browse files
committed
Merge tag 'for-linus-5.6-ofs1' of git://git.kernel.org/pub/scm/linux/kernel/git/hubcap/linux
Pull orangefs fix from Mike Marshall: "Debugfs fix for orangefs. Vasliy Averin noticed that 'if seq_file .next function does not change position index, read after some lseek can generate unexpected output' and sent in this fix" * tag 'for-linus-5.6-ofs1' of git://git.kernel.org/pub/scm/linux/kernel/git/hubcap/linux: help_next should increase position index
2 parents 08dffcc + 9f198a2 commit 60ea27e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/orangefs/orangefs-debugfs.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,7 @@ static void *help_start(struct seq_file *m, loff_t *pos)
273273

274274
static void *help_next(struct seq_file *m, void *v, loff_t *pos)
275275
{
276+
(*pos)++;
276277
gossip_debug(GOSSIP_DEBUGFS_DEBUG, "help_next: start\n");
277278

278279
return NULL;

0 commit comments

Comments
 (0)